You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@apache.org on 2002/08/30 09:34:00 UTC
cvs commit: xml-fop/src/org/apache/fop/layoutmgr TextBPLayoutManager.java
keiron 2002/08/30 00:34:00
Modified: src/org/apache/fop/layoutmgr TextBPLayoutManager.java
Log:
return if no areas to add
Revision Changes Path
1.13 +4 -1 xml-fop/src/org/apache/fop/layoutmgr/TextBPLayoutManager.java
Index: TextBPLayoutManager.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/layoutmgr/TextBPLayoutManager.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- TextBPLayoutManager.java 28 Aug 2002 21:10:21 -0000 1.12
+++ TextBPLayoutManager.java 30 Aug 2002 07:33:59 -0000 1.13
@@ -442,6 +442,9 @@
}
iWScount += ai.m_iWScount;
}
+ if(ai == null) {
+ return;
+ }
// Calculate total adjustment
int iAdjust = 0;
double dSpaceAdjust = context.getSpaceAdjust();
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org