From 7af60c6d3de5fa2a3b200e6a46f756f3cfd961a2 Mon Sep 17 00:00:00 2001 From: Manuel Mall Date: Fri, 11 Nov 2005 15:38:42 +0000 Subject: Minor corrections for jdk 1.3.1 compatibility git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332584 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java | 6 +++--- src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/java/org/apache/fop') diff --git a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java index 50281ef44..85474abfd 100644 --- a/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/BlockContainerLayoutManager.java @@ -609,9 +609,9 @@ public class BlockContainerLayoutManager extends BlockStackingLayoutManager //Rendering all parts (not just the first) at once for the case where the parts that //overflow should be visible. //TODO Check if this has any unwanted side-effects. Feels a bit like a hack. - addAreas(this.deferredAlg, - /*1*/ this.deferredAlg.getPageBreaks().size(), - this.deferredOriginalList, this.deferredEffectiveList); + this.addAreas(this.deferredAlg, + /*1*/ this.deferredAlg.getPageBreaks().size(), + this.deferredOriginalList, this.deferredEffectiveList); } } diff --git a/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java index 34da18505..6a8608955 100644 --- a/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java @@ -321,7 +321,7 @@ public class StaticContentLayoutManager extends BlockStackingLayoutManager { protected void doPhase3(PageBreakingAlgorithm alg, int partCount, BlockSequence originalList, BlockSequence effectiveList) { //Directly add areas after finding the breaks - addAreas(alg, partCount, originalList, effectiveList); + this.addAreas(alg, partCount, originalList, effectiveList); if (partCount > 1) { overflow = true; } -- cgit v1.2.3