Commit 773c9f1d authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix #32322

parent c86a5ac9
......@@ -1104,6 +1104,7 @@ function isRealObject(obj)
window['AscCommon'] = window['AscCommon'] || {};
window['AscCommon'].c_oSerConstants = c_oSerConstants;
window['AscCommon'].c_oSerPropLenType = c_oSerPropLenType;
window['AscCommon'].c_oSer_ColorType = c_oSer_ColorType;
window['AscCommon'].c_oSerBorderType = c_oSerBorderType;
window['AscCommon'].c_oSerBordersType = c_oSerBordersType;
window['AscCommon'].c_oSerPaddingType = c_oSerPaddingType;
......
......@@ -1986,7 +1986,7 @@ function Binary_rPrWriter(memory, saveParams)
{
this.memory.WriteByte(c_oSerProp_rPrType.HighLightTyped);
this.memory.WriteByte(c_oSerPropLenType.Byte);
this.memory.WriteByte(c_oSer_ColorType.Auto);
this.memory.WriteByte(AscCommon.c_oSer_ColorType.Auto);
}
else
{
......@@ -6905,7 +6905,7 @@ function Binary_rPrReader(doc, oReadResult, stream)
break;
case c_oSerProp_rPrType.HighLightTyped:
var nHighLightTyped = this.stream.GetUChar();
if(nHighLightTyped == c_oSer_ColorType.Auto)
if(nHighLightTyped == AscCommon.c_oSer_ColorType.Auto)
rPr.HighLight = highlight_None;
break;
case c_oSerProp_rPrType.RStyle:
......
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