diff options
author | Glen Mazza <gmazza@apache.org> | 2005-06-04 04:47:31 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2005-06-04 04:47:31 +0000 |
commit | 0b59df1719e7af0712f093a62557b0ba811bbd30 (patch) | |
tree | 753c05b948d09d9591593fa45752cd69bf0f47af /src/java | |
parent | 847efa6b25f8093912df7626afa790b38b31ca41 (diff) | |
download | xmlgraphics-fop-0b59df1719e7af0712f093a62557b0ba811bbd30.tar.gz xmlgraphics-fop-0b59df1719e7af0712f093a62557b0ba811bbd30.zip |
Two stray isBogus()es removed, AFAICT unnecessary childLC initialization
removed from PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/ContentLayoutManager.java | 5 | ||||
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java | 19 |
2 files changed, 2 insertions, 22 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/ContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/ContentLayoutManager.java index 08885990b..05c8c6b0e 100644 --- a/src/java/org/apache/fop/layoutmgr/ContentLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/ContentLayoutManager.java @@ -165,11 +165,6 @@ public class ContentLayoutManager implements InlineLevelLayoutManager { return true; } - /** @see org.apache.fop.layoutmgr.LayoutManager#isBogus() */ - public boolean isBogus() { - return false; - } - /** @see org.apache.fop.layoutmgr.LayoutManager */ public Area getParentArea(Area childArea) { return holder; diff --git a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java index 36d3398fa..f5611051f 100644 --- a/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java @@ -302,27 +302,12 @@ public class PageSequenceLayoutManager extends AbstractLayoutManager { } - /** @see org.apache.fop.layoutmgr.LayoutManager#isBogus() */ - public boolean isBogus() { - return false; - } - /** - * Get the next break possibility. - * This finds the next break for a page which is always at the end - * of the page. - * - * @param context the layout context for finding breaks - * @return the break for the page + * @see org.apache.fop.layoutmgr.LayoutManager#getNextKnuthElements(Layout Context, int) */ public LinkedList getNextKnuthElements(LayoutContext context, int alignment) { - LinkedList returnedList = null; - while (!childFLM.isFinished()) { - LayoutContext childLC = new LayoutContext(0); - childLC.setStackLimit(context.getStackLimit()); - childLC.setRefIPD(context.getRefIPD()); - returnedList = childFLM.getNextKnuthElements(childLC, alignment); + LinkedList returnedList = childFLM.getNextKnuthElements(context, alignment); if (returnedList != null) { return returnedList; |