Commit 79aab551 authored by SergeyLuzyanin's avatar SergeyLuzyanin

fix bug 35166

parent ade2026b
......@@ -2733,7 +2733,9 @@ Paragraph.prototype.Remove = function(nCount, bOnlyText, bRemoveOnlySelection, b
{
this.Remove_PresentationNumbering();
}
else if (align_Right === Pr.Jc)
else if(this.bFromDocument)
{
if (align_Right === Pr.Jc)
{
this.Set_Align(align_Center);
}
......@@ -2753,9 +2755,16 @@ Paragraph.prototype.Remove = function(nCount, bOnlyText, bRemoveOnlySelection, b
this.Set_Ind({Left : 0}, false);
}
else
{
Result = false;
}
}
else
{
Result = false;
}
}
}
return Result;
};
......
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