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

Исправлен баг с возвратом пересчета параграфа.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64721 954022d7-b5bf-4e40-9824-e11837661b57
parent 4ae317d5
......@@ -891,12 +891,9 @@ Paragraph.prototype.private_RecalculateLineRanges = function(CurLine, CurPa
}
// Такое может случиться, если мы насильно переносим автофигуру на следующую страницу
if (recalcresult_NextPage === PRS.RecalcResult)
if (recalcresult_NextPage === PRS.RecalcResult || recalcresult_PrevLine === PRS.RecalcResult || recalcresult_CurLine === PRS.RecalcResult || recalcresult_CurPagePara === PRS.RecalcResult)
return false;
if (recalcresult_PrevLine === PRS.RecalcResult || recalcresult_CurPagePara === PRS.RecalcResult)
return true;
CurRange++;
}
......
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