Commit 5e466b34 authored by Sergey Konovalov's avatar Sergey Konovalov Committed by GitHub

error in writing Date1904 field

parent fcefc5a2
...@@ -2291,13 +2291,13 @@ ...@@ -2291,13 +2291,13 @@
{ {
if(null != oWorkbookPr.Date1904) if(null != oWorkbookPr.Date1904)
{ {
this.memory.WriteByte(c_oSerBorderPropTypes.Date1904); this.memory.WriteByte(c_oSerWorkbookPrTypes.Date1904);
this.memory.WriteByte(c_oSerPropLenType.Byte); this.memory.WriteByte(c_oSerPropLenType.Byte);
this.memory.WriteBool(oWorkbookPr.Date1904); this.memory.WriteBool(oWorkbookPr.Date1904);
} }
else if (null != oWorkbookPr.DateCompatibility) else if (null != oWorkbookPr.DateCompatibility)
{ {
this.memory.WriteByte(c_oSerBorderPropTypes.DateCompatibility); this.memory.WriteByte(c_oSerWorkbookPrTypes.DateCompatibility);
this.memory.WriteByte(c_oSerPropLenType.Byte); this.memory.WriteByte(c_oSerPropLenType.Byte);
this.memory.WriteBool(oWorkbookPr.DateCompatibility); this.memory.WriteBool(oWorkbookPr.DateCompatibility);
} }
......
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