Commit 994a55c2 authored by Sergey.Konovalov's avatar Sergey.Konovalov

Bug 27498 - Красный крест вместо Chart Texture Fill после переоткрытия документа

убраны локальные CPPTXContentLoader.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59611 954022d7-b5bf-4e40-9824-e11837661b57
parent 87445ea3
......@@ -5361,8 +5361,7 @@ BinaryChartReader.prototype.ReadCT_ChartSpace = function (type, length, val, cur
return res;
}
BinaryChartReader.prototype.ReadSpPr = function (length) {
var oPPTXContentLoader = new CPPTXContentLoader();
return oPPTXContentLoader.ReadShapeProperty(this.stream);
return window.global_pptx_content_loader.ReadShapeProperty(this.stream);
}
BinaryChartReader.prototype.ReadClrOverride = function(lenght)
......@@ -5389,9 +5388,8 @@ BinaryChartReader.prototype.ReadClrOverride = function(lenght)
};
BinaryChartReader.prototype.ReadTxPr = function (length) {
var oPPTXContentLoader = new CPPTXContentLoader();
var cur = this.stream.cur;
var ret = oPPTXContentLoader.ReadTextBody(null, this.stream, null, this.curWorksheet);
var ret = window.global_pptx_content_loader.ReadTextBody(null, this.stream, null, this.curWorksheet);
this.stream.cur = cur + length;
return ret;
}
......
......@@ -5142,7 +5142,6 @@
this.bcr = new Binary_CommonReader(this.stream);
this.aMerged = [];
this.aHyperlinks = [];
this.oPPTXContentLoader = new CPPTXContentLoader();
this.copyPasteObj = copyPasteObj;
this.curWorksheet = null;
this.Read = function()
......@@ -5819,7 +5818,7 @@
{
// res = c_oSerConstants.ReadUnknown;
var oGraphicObject = this.oPPTXContentLoader.ReadGraphicObject(this.stream, this.curWorksheet);
var oGraphicObject = window.global_pptx_content_loader.ReadGraphicObject(this.stream, this.curWorksheet);
if(null != oGraphicObject && !((oGraphicObject.getObjectType() === historyitem_type_Shape || oGraphicObject.getObjectType() === historyitem_type_ImageShape) && !oGraphicObject.spPr))
{
oDrawing.graphicObject = oGraphicObject;
......
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