From 91171270a32decc930a8810ccaa59cb4c255d104 Mon Sep 17 00:00:00 2001 From: Karen Lease Date: Wed, 28 Aug 2002 21:10:21 +0000 Subject: Remove two parameter version of getNextBreakPoss method and remove all calls to it which always used a null second parameter git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195123 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/layoutmgr/LineBPLayoutManager.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/org/apache/fop/layoutmgr/LineBPLayoutManager.java') diff --git a/src/org/apache/fop/layoutmgr/LineBPLayoutManager.java b/src/org/apache/fop/layoutmgr/LineBPLayoutManager.java index 16998de81..7fdb7d547 100644 --- a/src/org/apache/fop/layoutmgr/LineBPLayoutManager.java +++ b/src/org/apache/fop/layoutmgr/LineBPLayoutManager.java @@ -104,8 +104,7 @@ public class LineBPLayoutManager extends InlineStackingBPLayoutManager { * generate inline areas. If a block-level generating LM is found, * finish any line being filled and return to the parent LM. */ - public BreakPoss getNextBreakPoss(LayoutContext context, - Position prevLineBP) { + public BreakPoss getNextBreakPoss(LayoutContext context) { // Get a break from currently active child LM // Set up constraints for inline level managers @@ -153,7 +152,7 @@ public class LineBPLayoutManager extends InlineStackingBPLayoutManager { // GET NEXT POSSIBLE BREAK FROM CHILD LM // prevBP = bp; - if ((bp = curLM.getNextBreakPoss(inlineLC, null)) != null) { + if ((bp = curLM.getNextBreakPoss(inlineLC)) != null) { // Add any space before and previous content dimension MinOptMax prevIPD = updatePrevIPD(bp, prevBP, (m_vecInlineBreaks.size() == iPrevLineEnd), -- cgit v1.2.3