diff options
Diffstat (limited to 'fop-core/src')
-rw-r--r-- | fop-core/src/main/java/org/apache/fop/layoutmgr/PageBreaker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fop-core/src/main/java/org/apache/fop/layoutmgr/PageBreaker.java b/fop-core/src/main/java/org/apache/fop/layoutmgr/PageBreaker.java index fddd6c3c6..90ffc4b21 100644 --- a/fop-core/src/main/java/org/apache/fop/layoutmgr/PageBreaker.java +++ b/fop-core/src/main/java/org/apache/fop/layoutmgr/PageBreaker.java @@ -478,7 +478,7 @@ public class PageBreaker extends AbstractBreaker { //Last page-master cannot hold the content. //Add areas now... addAreas(alg, restartPoint, partCount - restartPoint, originalList, effectiveList); - if (!ipdChange) { + if (!ipdChange && pslm.currentPageNum == currentPageNum) { //...and add a blank last page setLastPageIndex(currentPageNum + 1); pslm.setCurrentPage(pslm.makeNewPage(true)); |