Commit e3fd7c53 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #32991

parent 312f1765
......@@ -1572,14 +1572,14 @@ CHeaderFooterController.prototype =
if (oHeader)
{
oHeader.Set_Page(nPageIndex);
nOldHeaderCurPage = oHeader.RecalcInfo.CurPage;
oHeader.Set_Page(nPageIndex);
}
if (oFooter)
{
oFooter.Set_Page(nPageIndex);
nOldFooterCurPage = oFooter.RecalcInfo.CurPage;
oFooter.Set_Page(nPageIndex);
}
this.LogicDocument.DrawingObjects.mergeDrawings(nPageIndex, arrHeaderDrawings, arrHeaderTables, arrFooterDrawings, arrFooterTables);
......@@ -1602,14 +1602,14 @@ CHeaderFooterController.prototype =
if (oHeader)
{
oHeader.Set_Page(nPageIndex);
nOldHeaderCurPage = oHeader.RecalcInfo.CurPage;
oHeader.Set_Page(nPageIndex);
}
if (oFooter)
{
oFooter.Set_Page(nPageIndex);
nOldFooterCurPage = oFooter.RecalcInfo.CurPage;
oFooter.Set_Page(nPageIndex);
}
this.LogicDocument.DrawingObjects.drawBehindDocHdrFtr(nPageIndex, pGraphics);
......
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