Commit 38ff9fb9 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #33544

parent 2a54c189
......@@ -856,6 +856,9 @@ ParaRun.prototype.Remove = function(Direction, bOnAddText)
}
else
{
while (CurPos < this.Content.length && para_Drawing === this.Content[CurPos].Type && false === this.Content[CurPos].Is_Inline())
CurPos++;
if (CurPos >= this.Content.length || para_End === this.Content[CurPos].Type)
return false;
......
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