Commit b1fae82c authored by Oleg Korshul's avatar Oleg Korshul

.

parent e03cb633
......@@ -280,7 +280,7 @@
if (true === Element.Is_EmptyPage(ElementPageIndex))
oColumn.Empty = true;
}
for (var TempColumnIndex = ColumnIndex + 1; TempColumnIndex < ColumnsCount; ++TempColumnIndex)
for (var TempColumnIndex = nColumnIndex + 1; TempColumnIndex < nColumnsCount; ++TempColumnIndex)
{
oSection.Columns[TempColumnIndex].Empty = true;
oSection.Columns[TempColumnIndex].Pos = i;
......@@ -312,7 +312,7 @@
for (var TempColumnIndex = nColumnIndex + 1; TempColumnIndex < nColumnsCount; ++TempColumnIndex)
{
var ElementPageIndex = this.private_GetElementPageIndex(i, nPageIndex, TempColumnIndex, nColumnsCount);
this.Content[Index].Recalculate_SkipPage(ElementPageIndex);
this.Content[i].Recalculate_SkipPage(ElementPageIndex);
oSection.Columns[TempColumnIndex].Empty = true;
oSection.Columns[TempColumnIndex].Pos = i;
oSection.Columns[TempColumnIndex].EndPos = i - 1;
......
......@@ -1719,10 +1719,10 @@
pCurGlyph.fX = fPenX;
pCurGlyph.fY = fPenY;
pCurGlyph.fLeft = fLeft;
pCurGlyph.fTop = fTop;
pCurGlyph.fRight = fRight;
pCurGlyph.fBottom = fBottom;
pCurGlyph.fLeft = 0;
pCurGlyph.fTop = 0;
pCurGlyph.fRight = 0;
pCurGlyph.fBottom = 0;
pCurGlyph.eState = EGlyphState.glyphstateMiss;
......
......@@ -375,7 +375,7 @@ CDocument.prototype.private_GetRevisionsChangeParagraphInFooters = function(Sear
}
var nDirection = SearchEngine.Get_Direction();
if (nPos < 0 || nPos >= Count)
if (nPos < 0 || nPos >= nCount)
{
if (nDirection > 0)
nPos = 0;
......
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