keiron      01/09/16 06:42:50

  Modified:    src/org/apache/fop/fo/flow Inline.java Leader.java
                        Wrapper.java
  Log:
  fixed possible npe
  
  Revision  Changes    Path
  1.8       +2 -1      xml-fop/src/org/apache/fop/fo/flow/Inline.java
  
  Index: Inline.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Inline.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Inline.java       2001/08/31 11:41:25     1.7
  +++ Inline.java       2001/09/16 13:42:49     1.8
  @@ -1,5 +1,5 @@
   /*
  - * $Id: Inline.java,v 1.7 2001/08/31 11:41:25 keiron Exp $
  + * $Id: Inline.java,v 1.8 2001/09/16 13:42:49 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -96,6 +96,7 @@
   
       protected void addCharacters(char data[], int start, int length) {
           FOText ft = new FOText(data, start, length, this);
  +        ft.setLogger(log);
           ft.setUnderlined(underlined);
           ft.setOverlined(overlined);
           ft.setLineThrough(lineThrough);
  
  
  
  1.13      +2 -1      xml-fop/src/org/apache/fop/fo/flow/Leader.java
  
  Index: Leader.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Leader.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Leader.java       2001/09/11 10:04:24     1.12
  +++ Leader.java       2001/09/16 13:42:49     1.13
  @@ -1,5 +1,5 @@
   /*
  - * $Id: Leader.java,v 1.12 2001/09/11 10:04:24 keiron Exp $
  + * $Id: Leader.java,v 1.13 2001/09/16 13:42:49 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -150,6 +150,7 @@
        * //should only be necessary for use-content
        * protected void addCharacters(char data[], int start, int length) {
        * FOText textNode = new FOText(data,start,length, this);
  +     * textNode.setLogger(log);
        * children.addElement(textNode);
        * }
        */
  
  
  
  1.4       +2 -1      xml-fop/src/org/apache/fop/fo/flow/Wrapper.java
  
  Index: Wrapper.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Wrapper.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Wrapper.java      2001/07/30 20:29:23     1.3
  +++ Wrapper.java      2001/09/16 13:42:49     1.4
  @@ -1,5 +1,5 @@
   /*
  - * $Id: Wrapper.java,v 1.3 2001/07/30 20:29:23 tore Exp $
  + * $Id: Wrapper.java,v 1.4 2001/09/16 13:42:49 keiron Exp $
    * Copyright (C) 2001 The Apache Software Foundation. All rights reserved.
    * For details on use and redistribution please refer to the
    * LICENSE file included with these sources.
  @@ -42,6 +42,7 @@
   
       protected void addCharacters(char data[], int start, int length) {
           FOText ft = new FOText(data, start, length, this);
  +        ft.setLogger(log);
           children.addElement(ft);
       }
   
  
  
  

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

Reply via email to