aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-08-30 07:33:59 +0000
committerKeiron Liddle <keiron@apache.org>2002-08-30 07:33:59 +0000
commit5f7e2cdf167f6e1217ebc0ef2d6f3616e6aa8056 (patch)
tree9cddc239cbdf60ab129be32b7873662c2be8f871 /src/org/apache
parent7046cf8b448ae03a2ad44d7a3ad40ae6421cf2c7 (diff)
downloadxmlgraphics-fop-5f7e2cdf167f6e1217ebc0ef2d6f3616e6aa8056.tar.gz
xmlgraphics-fop-5f7e2cdf167f6e1217ebc0ef2d6f3616e6aa8056.zip
return if no areas to add
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache')
-rw-r--r--src/org/apache/fop/layoutmgr/TextBPLayoutManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/apache/fop/layoutmgr/TextBPLayoutManager.java b/src/org/apache/fop/layoutmgr/TextBPLayoutManager.java
index 0c7867830..9921eab50 100644
--- a/src/org/apache/fop/layoutmgr/TextBPLayoutManager.java
+++ b/src/org/apache/fop/layoutmgr/TextBPLayoutManager.java
@@ -442,6 +442,9 @@ public class TextBPLayoutManager extends AbstractBPLayoutManager {
}
iWScount += ai.m_iWScount;
}
+ if(ai == null) {
+ return;
+ }
// Calculate total adjustment
int iAdjust = 0;
double dSpaceAdjust = context.getSpaceAdjust();