diff options
Diffstat (limited to 'src/org/apache/fop/layoutmgr/StaticContentLayoutManager.java')
-rw-r--r-- | src/org/apache/fop/layoutmgr/StaticContentLayoutManager.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/apache/fop/layoutmgr/StaticContentLayoutManager.java b/src/org/apache/fop/layoutmgr/StaticContentLayoutManager.java index 8d1859731..94599533a 100644 --- a/src/org/apache/fop/layoutmgr/StaticContentLayoutManager.java +++ b/src/org/apache/fop/layoutmgr/StaticContentLayoutManager.java @@ -34,8 +34,7 @@ public class StaticContentLayoutManager extends BlockStackingLayoutManager { this.region = region; } - public BreakPoss getNextBreakPoss(LayoutContext context, - Position prevLineBP) { + public BreakPoss getNextBreakPoss(LayoutContext context) { BPLayoutManager curLM ; // currently active LM @@ -45,7 +44,7 @@ public class StaticContentLayoutManager extends BlockStackingLayoutManager { BreakPoss bp; LayoutContext childLC = context; if (!curLM.isFinished()) { - if ((bp = curLM.getNextBreakPoss(childLC, null)) != null) { + if ((bp = curLM.getNextBreakPoss(childLC)) != null) { blockBreaks.add(bp); if(bp.isForcedBreak()) { System.out.println("Forced breaks are not allowed in static content"); |