Commit 5760ef0d authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

дополнение к багу №25651

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57467 954022d7-b5bf-4e40-9824-e11837661b57
parent 4eb7eee6
...@@ -2755,23 +2755,15 @@ ...@@ -2755,23 +2755,15 @@
for(var selDr = 0; selDr < oDrawingSelected.length; selDr++) for(var selDr = 0; selDr < oDrawingSelected.length; selDr++)
{ {
curDrawing = oDrawingSelected[selDr]; curDrawing = oDrawingSelected[selDr];
oDrawing = curDrawing.drawingBase;
//меняем graphicObject на время записи
graphicObject = oDrawing.graphicObject;
oDrawing.graphicObject = curDrawing;
this.bs.WriteItem(c_oSerWorksheetsTypes.Drawing, function(){oThis.WriteDrawing(oDrawing, curDrawing);});
if(oDrawing) //возвращаем graphicObject обратно
{ oDrawing.graphicObject = graphicObject;
//меняем graphicObject на время записи
graphicObject = oDrawing.graphicObject;
oDrawing.graphicObject = curDrawing;
this.bs.WriteItem(c_oSerWorksheetsTypes.Drawing, function(){oThis.WriteDrawing(oDrawing, curDrawing);});
//возвращаем graphicObject обратно
oDrawing.graphicObject = graphicObject;
}
else
{
this.bs.WriteItem(c_oSerWorksheetsTypes.Drawing, function(){oThis.WriteDrawing(curDrawing, curDrawing);});
};
} }
} }
else else
......
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