aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-01-02 22:51:31 +0000
committerGlen Mazza <gmazza@apache.org>2004-01-02 22:51:31 +0000
commit2185a69b4b30b183b550853c3b2ba59ebfc7f39a (patch)
tree30f48ea62768fe5b310f0671d70ff94a22f1b643 /src
parent72a52419d4cdfc0aac1ddfceff46f88f40ae7ec6 (diff)
downloadxmlgraphics-fop-2185a69b4b30b183b550853c3b2ba59ebfc7f39a.tar.gz
xmlgraphics-fop-2185a69b4b30b183b550853c3b2ba59ebfc7f39a.zip
Bug 25808 (Patch by Finn Bock) -- NPE Fix to LineLayoutManager.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/layoutmgr/LineLayoutManager.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
index 63ba1d2ea..b3d210162 100644
--- a/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
@@ -703,6 +703,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager {
lc.setSpaceAdjust(lbp.dAdjust);
lc.setIPDAdjust(lbp.ipdAdjust);
lc.setLeadingSpace(new SpaceSpecifier(true));
+ lc.setTrailingSpace(new SpaceSpecifier(false));
lc.setFlags(LayoutContext.RESOLVE_LEADING_SPACE, true);
setChildContext(lc);
while ((childLM = inlinePosIter.getNextChildLM()) != null) {