diff options
author | Karen Lease <klease@apache.org> | 2002-08-28 21:10:21 +0000 |
---|---|---|
committer | Karen Lease <klease@apache.org> | 2002-08-28 21:10:21 +0000 |
commit | 91171270a32decc930a8810ccaa59cb4c255d104 (patch) | |
tree | 665c359eb63765861f78c72e4eb659fa5fe7633b /src/org/apache/fop/layoutmgr/LineBPLayoutManager.java | |
parent | 0e6a2b065f051cc8467f6327bb8085cc03c5aa94 (diff) | |
download | xmlgraphics-fop-91171270a32decc930a8810ccaa59cb4c255d104.tar.gz xmlgraphics-fop-91171270a32decc930a8810ccaa59cb4c255d104.zip |
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
Diffstat (limited to 'src/org/apache/fop/layoutmgr/LineBPLayoutManager.java')
-rw-r--r-- | src/org/apache/fop/layoutmgr/LineBPLayoutManager.java | 5 |
1 files changed, 2 insertions, 3 deletions
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), |