Commit b927cc60 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bugs with changes of section.

parent 59c3c859
......@@ -1507,14 +1507,14 @@ CChangesParagraphSectPr.prototype.ReadFromBinary = function(Reader)
var nFlags = Reader.GetLong();
if (nFlags & 1)
this.New = AscCommon.g_oTableId.Get_ById(Reader.GetString2());
else
this.New = undefined;
else
this.New = AscCommon.g_oTableId.Get_ById(Reader.GetString2());
if (nFlags & 2)
this.Old = AscCommon.g_oTableId.Get_ById(Reader.GetString2());
else
this.Old = undefined;
else
this.Old = AscCommon.g_oTableId.Get_ById(Reader.GetString2());
};
CChangesParagraphSectPr.prototype.CreateReverseChange = function()
{
......
......@@ -551,13 +551,13 @@ CChangesSectionPageNumTypeStart.prototype.private_SetValue = function(Value)
};
/**
* @constructor
* @extends {AscDFH.CChangesBaseLongValue}
* @extends {AscDFH.CChangesBaseBoolValue}
*/
function CChangesSectionColumnsEqualWidth(Class, Old, New)
{
CChangesSectionColumnsEqualWidth.superclass.constructor.call(this, Class, Old, New);
}
AscCommon.extendClass(CChangesSectionColumnsEqualWidth, AscDFH.CChangesBaseLongValue);
AscCommon.extendClass(CChangesSectionColumnsEqualWidth, AscDFH.CChangesBaseBoolValue);
CChangesSectionColumnsEqualWidth.prototype.Type = AscDFH.historyitem_Section_Columns_EqualWidth;
CChangesSectionColumnsEqualWidth.prototype.private_SetValue = function(Value)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment