aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java b/src/java/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java
index 22e3a0723..7149a3450 100644
--- a/src/java/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java
@@ -246,7 +246,6 @@ public abstract class LeafNodeLayoutManager extends AbstractLayoutManager
int alignment) {
MinOptMax ipd;
curArea = get(context);
- LinkedList returnList = new LinkedList();
if (curArea == null) {
setFinished(true);
@@ -277,6 +276,7 @@ public abstract class LeafNodeLayoutManager extends AbstractLayoutManager
// node is a fo:ExternalGraphic, fo:InstreamForeignObject,
// fo:PageNumber or fo:PageNumberCitation
+ LinkedList returnList = new LinkedList();
returnList.add(new KnuthInlineBox(areaInfo.ipdArea.opt, areaInfo.lead,
areaInfo.total, areaInfo.middle,
new LeafPosition(this, 0), false));