Commit 2342fdb5 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug with clearing up a CDocumentContent class.

parent bc2c1501
...@@ -2801,8 +2801,11 @@ CDocumentContent.prototype.Remove = function(Count, ...@@ -2801,8 +2801,11 @@ CDocumentContent.prototype.Remove = function(Count,
{ {
if (true === this.ApplyToAll) if (true === this.ApplyToAll)
{ {
var oNewPara = new Paragraph(this.DrawingDocument, this, 0, this.X, this.Y, this.XLimit, this.YLimit, this.bPresentation === true);
oNewPara.Correct_Content();
this.Internal_Content_RemoveAll(); this.Internal_Content_RemoveAll();
this.Internal_Content_Add(0, new Paragraph(this.DrawingDocument, this, 0, this.X, this.Y, this.XLimit, this.YLimit, this.bPresentation === true)); this.Internal_Content_Add(0, oNewPara);
this.CurPos = this.CurPos =
{ {
......
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