aboutsummaryrefslogtreecommitdiffstats
path: root/src/org
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-08-14 14:46:41 +0000
committerKeiron Liddle <keiron@apache.org>2002-08-14 14:46:41 +0000
commit7137bc477f21d645157cf35b1b361b7e4bec3755 (patch)
treeccc6298413ffa45e0ea6f463d7e466d3fb07ed52 /src/org
parent70f5d9e74d2c0ca2babd199b1beb886767d069b5 (diff)
downloadxmlgraphics-fop-7137bc477f21d645157cf35b1b361b7e4bec3755.tar.gz
xmlgraphics-fop-7137bc477f21d645157cf35b1b361b7e4bec3755.zip
fixed reset, only does it when restarting leaf node
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195086 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org')
-rw-r--r--src/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java b/src/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java
index 43cae55ae..32c2633e9 100644
--- a/src/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java
+++ b/src/org/apache/fop/layoutmgr/LeafNodeLayoutManager.java
@@ -84,7 +84,10 @@ public class LeafNodeLayoutManager extends AbstractBPLayoutManager {
}
public void resetPosition(Position resetPos) {
- setFinished(false);
+ // only reset if setting null, start again
+ if(resetPos == null) {
+ setFinished(false);
+ }
}
public void addAreas(PositionIterator posIter, LayoutContext context) {