aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2008-06-22 11:28:06 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2008-06-22 11:28:06 +0000
commitebee3981d4f0356d283bb25f2541b1e8a4129f1e (patch)
tree1bca884c004e5c7ac0129a3747e7443952cdbab1 /src/java/org/apache/fop/fo/flow
parent79fbd6dfcc97b2b0e5c5b82cd2fae1057a0f331a (diff)
downloadxmlgraphics-fop-ebee3981d4f0356d283bb25f2541b1e8a4129f1e.tar.gz
xmlgraphics-fop-ebee3981d4f0356d283bb25f2541b1e8a4129f1e.zip
Changed signature for static handleWhiteSpaceFor(), and used internally to make the code a bit more compact
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670344 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow')
-rw-r--r--src/java/org/apache/fop/fo/flow/AbstractRetrieveMarker.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/fo/flow/AbstractRetrieveMarker.java b/src/java/org/apache/fop/fo/flow/AbstractRetrieveMarker.java
index a276e4214..ae06d8399 100644
--- a/src/java/org/apache/fop/fo/flow/AbstractRetrieveMarker.java
+++ b/src/java/org/apache/fop/fo/flow/AbstractRetrieveMarker.java
@@ -111,7 +111,7 @@ public abstract class AbstractRetrieveMarker extends FObjMixed {
addChildTo(newChild, (FObj) newParent);
if (newChild.getNameId() == FO_TABLE) {
Table t = (Table) child;
- cloneSubtree(t.getColumns().listIterator(),
+ cloneSubtree(t.getColumns().iterator(),
newChild, marker, newPropertyList);
cloneSingleNode(t.getTableHeader(),
newChild, marker, newPropertyList);
@@ -129,8 +129,9 @@ public abstract class AbstractRetrieveMarker extends FObjMixed {
ft.bind(parentPropertyList);
addChildTo(newChild, (FObj) newParent);
}
+ // trigger 'end-of-node' white-space handling
if (newChild instanceof FObjMixed) {
- handleWhiteSpaceFor((FObjMixed) newChild);
+ handleWhiteSpaceFor((FObjMixed) newChild, null);
}
}
}
@@ -169,7 +170,7 @@ public abstract class AbstractRetrieveMarker extends FObjMixed {
}
cloneSubtree(marker.getChildNodes(), this,
marker, propertyList);
- handleWhiteSpaceFor(this);
+ handleWhiteSpaceFor(this, null);
}
/**