Commit 2c33fb28 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

неправильные параметры в функции Recalculate_LineMetrics

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61146 954022d7-b5bf-4e40-9824-e11837661b57
parent 5e70cfad
......@@ -1077,7 +1077,7 @@ CParagraphContentWithParagraphLikeContent.prototype.Recalculate_Set_RangeEndPos
this.Content[CurPos].Recalculate_Set_RangeEndPos( PRS, PRP, Depth + 1 );
};
CParagraphContentWithParagraphLikeContent.prototype.Recalculate_LineMetrics = function(PRS, _CurLine, _CurRange)
CParagraphContentWithParagraphLikeContent.prototype.Recalculate_LineMetrics = function(PRS, ParaPr, _CurLine, _CurRange)
{
var CurLine = _CurLine - this.StartLine;
var CurRange = (0 === CurLine ? _CurRange - this.StartRange : _CurRange);
......@@ -1087,7 +1087,7 @@ CParagraphContentWithParagraphLikeContent.prototype.Recalculate_LineMetrics = fu
for (var CurPos = StartPos; CurPos <= EndPos; CurPos++)
{
this.Content[CurPos].Recalculate_LineMetrics(PRS, _CurLine, _CurRange);
this.Content[CurPos].Recalculate_LineMetrics(PRS, ParaPr, _CurLine, _CurRange);
}
};
CParagraphContentWithParagraphLikeContent.prototype.Recalculate_Range_Width = function(PRSC, _CurLine, _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