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/06/18 15:41:42 UTC
cvs commit: xml-fop/src/org/apache/fop/fo/flow Block.java
keiron 2002/06/18 06:41:42
Modified: src/org/apache/fop/fo/flow Block.java
Log:
prevents error for unknown xml
Revision Changes Path
1.57 +2 -2 xml-fop/src/org/apache/fop/fo/flow/Block.java
Index: Block.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Block.java,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- Block.java 5 Jun 2002 14:52:27 -0000 1.56
+++ Block.java 18 Jun 2002 13:41:42 -0000 1.57
@@ -392,7 +392,7 @@
// Handle whitespace based on values of properties
// Handle a sequence of inline-producing children in
// one pass
- if (((FObj) child).generatesInlineAreas()) {
+ if (child instanceof FObj && ((FObj) child).generatesInlineAreas()) {
if (firstInlineChild == null) {
firstInlineChild = child;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org