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

Bug 25335 - [CoEdit] Ошибка в консоли при получении копии автофигуры

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57223 954022d7-b5bf-4e40-9824-e11837661b57
parent 6723be42
......@@ -4939,7 +4939,7 @@ ParaDrawing.prototype =
this.Distance.R = Data.Old.Right;
this.Distance.B = Data.Old.Bottom;
this.GraphicObj.recalcWrapPolygon && this.GraphicObj.recalcWrapPolygon();
this.GraphicObj && this.GraphicObj.recalcWrapPolygon && this.GraphicObj.recalcWrapPolygon();
break;
}
......@@ -5085,7 +5085,7 @@ ParaDrawing.prototype =
this.Distance.R = Data.New.Right;
this.Distance.B = Data.New.Bottom;
this.GraphicObj.recalcWrapPolygon && this.GraphicObj.recalcWrapPolygon();
this.GraphicObj && this.GraphicObj.recalcWrapPolygon && this.GraphicObj.recalcWrapPolygon();
break;
}
......@@ -5205,8 +5205,8 @@ ParaDrawing.prototype =
{
if(Data && Data.Type === historyitem_Drawing_Distance)
{
this.GraphicObj.recalcWrapPolygon && this.GraphicObj.recalcWrapPolygon();
this.GraphicObj.addToRecalculate();
this.GraphicObj && this.GraphicObj.recalcWrapPolygon && this.GraphicObj.recalcWrapPolygon();
this.GraphicObj && this.GraphicObj.addToRecalculate();
}
return this.Parent.Refresh_RecalcData2();
......@@ -5673,7 +5673,7 @@ ParaDrawing.prototype =
this.Distance.R = Reader.GetDouble();
this.Distance.B = Reader.GetDouble();
this.GraphicObj.recalcWrapPolygon && this.GraphicObj.recalcWrapPolygon();
this.GraphicObj && this.GraphicObj.recalcWrapPolygon && this.GraphicObj.recalcWrapPolygon();
break;
}
......
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