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

Bug #32109 Устранено падение при работе с нумерацией.

parent 6dc27aa0
......@@ -7352,7 +7352,10 @@ Paragraph.prototype =
{
if ( undefined != OldNumPr && undefined != OldNumPr.NumId )
{
var Lvl = this.Parent.Get_Numbering().Get_AbstractNum(OldNumPr.NumId).Lvl[OldNumPr.Lvl];
var Num = this.Parent.Get_Numbering().Get_AbstractNum(OldNumPr.NumId);
if (Num)
{
var Lvl = Num.Lvl[OldNumPr.Lvl];
if ( undefined != Lvl && undefined != Lvl.ParaPr.Ind && undefined != Lvl.ParaPr.Ind.Left )
{
var CurParaPr = this.Get_CompiledPr2(false).ParaPr;
......@@ -7369,6 +7372,7 @@ Paragraph.prototype =
}
}
}
}
else if ( this.Pr.Ind.FirstLine < 0 )
{
History.Add( this, { Type : historyitem_Paragraph_Ind_First, New : 0, Old : this.Pr.Ind.FirstLine } );
......
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