klease      01/11/26 13:11:06

  Modified:    src/org/apache/fop/fo RecursiveCharIterator.java
  Log:
  Fix a small bug in iterator
  
  Revision  Changes    Path
  1.2       +2 -0      xml-fop/src/org/apache/fop/fo/RecursiveCharIterator.java
  
  Index: RecursiveCharIterator.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/RecursiveCharIterator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RecursiveCharIterator.java        2001/11/21 22:13:36     1.1
  +++ RecursiveCharIterator.java        2001/11/26 21:11:06     1.2
  @@ -32,6 +32,8 @@
       public Object clone() {
        RecursiveCharIterator ci = (RecursiveCharIterator)super.clone();
        ci.childIter = fobj.getChildren(ci.curChild);
  +     // Need to advance to the next child, else we get the same one!!!
  +     ci.childIter.next();
        ci.curCharIter = (CharIterator)curCharIter.clone();
        return ci;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to