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 pi...@apache.org on 2002/09/17 22:21:32 UTC
cvs commit: xml-fop/src/org/apache/fop/fo FObjMixed.java
pietsch 2002/09/17 13:21:32
Modified: src/org/apache/fop/fo Tag: fop-0_20_2-maintain
FObjMixed.java
Log:
Fixed problem with empty text buffer.
Revision Changes Path
No revision
No revision
1.12.2.8 +2 -2 xml-fop/src/org/apache/fop/fo/FObjMixed.java
Index: FObjMixed.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/FObjMixed.java,v
retrieving revision 1.12.2.7
retrieving revision 1.12.2.8
diff -u -r1.12.2.7 -r1.12.2.8
--- FObjMixed.java 10 Aug 2002 20:09:40 -0000 1.12.2.7
+++ FObjMixed.java 17 Sep 2002 20:21:32 -0000 1.12.2.8
@@ -41,7 +41,7 @@
}
private final void finalizeText() {
- if (textBuffer!=null) {
+ if (textBuffer != null && textBuffer.length() > 0) {
FOText ft = new FOText(textBuffer, this);
ft.setTextState(textState);
super.addChild(ft);
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org