Commit 4eb7eee6 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=25651 - Ошибка в консоли при вырезании...

http://bugzserver/show_bug.cgi?id=25651 - Ошибка в консоли при вырезании графического объекта, скопированного в группе через ctrl

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