Commit ae59a968 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 20874 - [Coedit] [Copy&Paste] Теряется изображение при копировании листа книги с ним

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57133 954022d7-b5bf-4e40-9824-e11837661b57
parent 557800b3
......@@ -2104,7 +2104,8 @@ Woorksheet.prototype.copyDrawingObjects=function(oNewWs, wsFrom)
var drawingObject = drawingObjects.cloneDrawingObject(this.Drawings[i]);
drawingObject.graphicObject = this.Drawings[i].graphicObject.copy();
drawingObject.graphicObject.setWorksheet(oNewWs);
oNewWs.Drawings.push(drawingObject);
drawingObject.graphicObject.addToDrawingObjects();
oNewWs.Drawings[oNewWs.Drawings.length - 1] = drawingObject;
}
drawingObjects.pushToAObjects(oNewWs.Drawings);
drawingObjects.updateChartReferences(wsFrom.sName, oNewWs.sName);
......
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