Commit da4a1574 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 34531

parent 53da8ed3
......@@ -5471,10 +5471,7 @@ function BinaryPPTYLoader()
AscCommon.pptx_content_loader.Reader.ImageMapChecker = this.ImageMapChecker;
var oBinaryChartReader = new AscCommon.BinaryChartReader(_stream);
oBinaryChartReader.ExternalReadCT_ChartSpace(_length, _chart, this.presentation);
if(AscCommon.isRealObject(_nvGraphicFramePr) && AscFormat.isRealNumber(_nvGraphicFramePr.locks))
{
_chart.setLocks(_nvGraphicFramePr.locks);
}
}
s.Seek2(_pos + _length);
......@@ -5532,6 +5529,13 @@ function BinaryPPTYLoader()
_xfrm.setExtX(0);
_xfrm.setExtY(0);
}
if(AscCommon.isRealObject(_nvGraphicFramePr) )
{
_chart.setNvSpPr(_nvGraphicFramePr);
if(AscFormat.isRealNumber(_nvGraphicFramePr.locks)){
_chart.setLocks(_nvGraphicFramePr.locks);
}
}
_chart.spPr.setXfrm(_xfrm);
_xfrm.setParent(_chart.spPr);
return _chart;
......
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