Commit 225a4aa4 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #35304

parent d1718df1
......@@ -355,7 +355,7 @@ CDocumentContentBase.prototype.private_Remove = function(Count, bOnlyText, bRemo
// Если есть параграфы, которые были добавлены во время рецензирования, тогда мы их удаляем
for (var Index = StartPos; Index <= EndPos; Index++)
{
this.Content[Index].Remove(1, true);
this.Content[Index].Remove(1, true, bRemoveOnlySelection, bOnTextAdd);
}
this.RemoveSelection();
......
......@@ -1791,8 +1791,8 @@ CHeaderFooterController.prototype =
Is_UseInDocument : function(Id)
{
var HdrFtr = g_oTableId.Get_ById( Id );
if ( -1 === this.LogicDocument.SectionsInfo.Find_ByHdrFtr( HdrFtr ) )
var HdrFtr = g_oTableId.Get_ById(Id);
if (-1 === this.LogicDocument.SectionsInfo.Find_ByHdrFtr(HdrFtr))
return false;
return true;
......
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