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,6 +2757,8 @@ ...@@ -2757,6 +2757,8 @@
curDrawing = oDrawingSelected[selDr]; curDrawing = oDrawingSelected[selDr];
oDrawing = curDrawing.drawingBase; oDrawing = curDrawing.drawingBase;
if(oDrawing)
{
//меняем graphicObject на время записи //меняем graphicObject на время записи
graphicObject = oDrawing.graphicObject; graphicObject = oDrawing.graphicObject;
oDrawing.graphicObject = curDrawing; oDrawing.graphicObject = curDrawing;
...@@ -2766,6 +2768,11 @@ ...@@ -2766,6 +2768,11 @@
//возвращаем graphicObject обратно //возвращаем graphicObject обратно
oDrawing.graphicObject = graphicObject; oDrawing.graphicObject = graphicObject;
} }
else
{
this.bs.WriteItem(c_oSerWorksheetsTypes.Drawing, function(){oThis.WriteDrawing(curDrawing, curDrawing);});
};
}
} }
else else
this.bs.WriteItem(c_oSerWorksheetsTypes.Drawing, function(){oThis.WriteDrawing(oDrawing);}); this.bs.WriteItem(c_oSerWorksheetsTypes.Drawing, function(){oThis.WriteDrawing(oDrawing);});
......
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