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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to