Commit f55cb7c0 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fixed bug in chart's saving

parent d4a8307a
...@@ -2980,7 +2980,7 @@ function CBinaryFileWriter() ...@@ -2980,7 +2980,7 @@ function CBinaryFileWriter()
nvGraphicFramePr.objectType = grObj.getObjectType(); nvGraphicFramePr.objectType = grObj.getObjectType();
oThis.WriteRecord1(0, nvGraphicFramePr, oThis.WriteUniNvPr); oThis.WriteRecord1(0, nvGraphicFramePr, oThis.WriteUniNvPr);
if (grObj.spPr.xfrm && grObj.spPr.xfrm.isNotNull()) if (grObj.spPr && grObj.spPr.xfrm && grObj.spPr.xfrm.isNotNull())
oThis.WriteRecord2(1, grObj.spPr.xfrm, oThis.WriteXfrm); oThis.WriteRecord2(1, grObj.spPr.xfrm, oThis.WriteXfrm);
oThis.WriteRecord2(3, grObj, oThis.WriteChart2); oThis.WriteRecord2(3, grObj, oThis.WriteChart2);
......
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