Commit 7cc2a1ca authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Устранено падение при вставке.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57474 954022d7-b5bf-4e40-9824-e11837661b57
parent a7081d21
...@@ -2740,9 +2740,9 @@ PasteProcessor.prototype = ...@@ -2740,9 +2740,9 @@ PasteProcessor.prototype =
if(false == this.bNested && nInsertLength > 0) if(false == this.bNested && nInsertLength > 0)
{ {
this.oRecalcDocument.Recalculate(); this.oRecalcDocument.Recalculate();
if(oDocument.CurPos.Type !== docpostype_DrawingObjects) if(this.oLogicDocument.CurPos.Type !== docpostype_DrawingObjects)
{ {
oDocument.Cursor_MoveRight(false, false); this.oLogicDocument.Cursor_MoveRight(false, false);
} }
this.oLogicDocument.Document_UpdateInterfaceState(); this.oLogicDocument.Document_UpdateInterfaceState();
} }
......
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