Index: ./src/text/fmt/xp/fl_DocLayout.cpp =================================================================== RCS file: /cvsroot/abi/src/text/fmt/xp/fl_DocLayout.cpp,v retrieving revision 1.223 diff -u -r1.223 fl_DocLayout.cpp --- ./src/text/fmt/xp/fl_DocLayout.cpp 19 Aug 2003 04:18:02 -0000 1.223 +++ ./src/text/fmt/xp/fl_DocLayout.cpp 10 Sep 2003 23:50:11 -0000 @@ -977,13 +977,13 @@ FV_View * pView = getView(); if(pView) { - iHeight += pView->getPageViewSep() * (count - 1); + iHeight += pView->getPageViewSep() * count; // Not count - 1, since we want a nice gray border at the very bottom of the document as well iHeight += pView->getPageViewTopMargin(); } else { - iHeight += fl_PAGEVIEW_PAGE_SEP * (count - 1); - iHeight += fl_PAGEVIEW_MARGIN_Y * 2; + iHeight += fl_PAGEVIEW_PAGE_SEP * count; // Not count - 1, since we want a nice gray border at the very bottom of the document as well + iHeight += fl_PAGEVIEW_MARGIN_Y; } } if(iHeight < 0) Index: ./src/text/fmt/xp/fv_View_protected.cpp =================================================================== RCS file: /cvsroot/abi/src/text/fmt/xp/fv_View_protected.cpp,v retrieving revision 1.112 diff -u -r1.112 fv_View_protected.cpp --- ./src/text/fmt/xp/fv_View_protected.cpp 8 Sep 2003 01:42:12 -0000 1.112 +++ ./src/text/fmt/xp/fv_View_protected.cpp 10 Sep 2003 23:50:30 -0000 @@ -3551,14 +3551,7 @@ UT_sint32 adjustedLeft = getPageViewLeftMargin() - m_xScrollOffset; UT_sint32 adjustedRight = adjustedLeft + iPageWidth; - if(pPage->getNext() != NULL) - { - adjustedBottom -= getPageViewSep() - 1; - } - else - { - adjustedBottom -= getPageViewSep() + getPageViewTopMargin(); - } + adjustedBottom -= getPageViewSep() - 1; if (!bDirtyRunsOnly || pPage->needsRedraw() && (getViewMode() == VIEW_PRINT)) {