aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/layoutmgr/list/Item.java
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-11-13 10:25:58 +0000
committerKeiron Liddle <keiron@apache.org>2002-11-13 10:25:58 +0000
commitafaedf22bc8d5c604de306765bb9f43ac6d2c766 (patch)
tree1cf3e7829ac610b136d0e75a4160c46d72bf918d /src/org/apache/fop/layoutmgr/list/Item.java
parent166214c4697af1e074757f44afe693db2b1d3523 (diff)
downloadxmlgraphics-fop-afaedf22bc8d5c604de306765bb9f43ac6d2c766.tar.gz
xmlgraphics-fop-afaedf22bc8d5c604de306765bb9f43ac6d2c766.zip
cleanup of lms
attempt at fixing some block layout problems git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195516 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/layoutmgr/list/Item.java')
-rw-r--r--src/org/apache/fop/layoutmgr/list/Item.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/org/apache/fop/layoutmgr/list/Item.java b/src/org/apache/fop/layoutmgr/list/Item.java
index 0157a0227..579c08491 100644
--- a/src/org/apache/fop/layoutmgr/list/Item.java
+++ b/src/org/apache/fop/layoutmgr/list/Item.java
@@ -24,6 +24,7 @@ import org.apache.fop.layout.BorderAndPadding;
import org.apache.fop.layout.BackgroundProps;
import java.util.ArrayList;
+import java.util.List;
/**
* LayoutManager for a table-cell FO.
@@ -36,7 +37,7 @@ public class Item extends BlockStackingLayoutManager {
private Block curBlockArea;
- private ArrayList childBreaks = new ArrayList();
+ private List childBreaks = new ArrayList();
private int xoffset;
private int itemIPD;
@@ -205,12 +206,10 @@ public class Item extends BlockStackingLayoutManager {
* @param childArea the child to add to the cell
* @return unused
*/
- public boolean addChild(Area childArea) {
+ public void addChild(Area childArea) {
if (curBlockArea != null) {
curBlockArea.addBlock((Block) childArea);
- return false;
}
- return false;
}
/**