Commit 57e67b40 authored by konovalovsergey's avatar konovalovsergey

remove duplicate c_oSer_ColorType

parent 12b8b0fe
......@@ -498,10 +498,6 @@ var c_oSer_pgMarType = {
Header:4,
Footer:5
};
var c_oSer_ColorType = {
None: 0,
Auto: 1
};
var c_oSer_CommentsType = {
Comment: 0,
Id: 1,
......@@ -2014,7 +2010,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.None);
this.memory.WriteByte(c_oSer_ColorType.Auto);
}
else
{
......@@ -6933,7 +6929,7 @@ function Binary_rPrReader(doc, oReadResult, stream)
break;
case c_oSerProp_rPrType.HighLightTyped:
var nHighLightTyped = this.stream.GetUChar();
if(nHighLightTyped == c_oSer_ColorType.None)
if(nHighLightTyped == 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