Commit 11e3ba62 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@68601 954022d7-b5bf-4e40-9824-e11837661b57
parent 533a6a99
......@@ -14,6 +14,9 @@
*/
Paragraph.prototype.Recalculate_FastWholeParagraph = function()
{
if (this.Pages.length <= 0)
return [];
if (true === this.Parent.Is_HdrFtr(false))
return [];
......@@ -152,6 +155,9 @@ Paragraph.prototype.Recalculate_FastWholeParagraph = function()
*/
Paragraph.prototype.Recalculate_FastRange = function(SimpleChanges)
{
if (this.Pages.length <= 0)
return -1;
if (true === this.Parent.Is_HdrFtr(false))
return -1;
......
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