Commit 3f1cafd7 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix Bug 34989

parent f76bb183
...@@ -2398,7 +2398,10 @@ function BinaryPPTYLoader() ...@@ -2398,7 +2398,10 @@ function BinaryPPTYLoader()
} }
else else
{ {
uni_fill.fill.color.setMods(new AscFormat.CColorModifiers()); if(uni_fill.fill.color){
uni_fill.fill.color.setMods(new AscFormat.CColorModifiers());
}
} }
break; break;
} }
......
...@@ -2474,8 +2474,10 @@ function CBinaryFileWriter() ...@@ -2474,8 +2474,10 @@ function CBinaryFileWriter()
{ {
oThis.StartRecord(c_oAscFill.FILL_TYPE_SOLID); oThis.StartRecord(c_oAscFill.FILL_TYPE_SOLID);
oThis.CorrectUniColorAlpha(fill.color, trans); if(fill.color){
oThis.WriteRecord1(0, fill.color, oThis.WriteUniColor); oThis.CorrectUniColorAlpha(fill.color, trans);
oThis.WriteRecord1(0, fill.color, oThis.WriteUniColor);
}
oThis.EndRecord(); oThis.EndRecord();
break; break;
} }
......
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