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 je...@apache.org on 2005/05/04 17:08:05 UTC

cvs commit: xml-fop/src/java/org/apache/fop/layoutmgr/table CollapsingBorderModelEyeCatching.java

jeremias    2005/05/04 08:08:05

  Modified:    src/java/org/apache/fop/layoutmgr/table Tag:
                        Temp_KnuthStylePageBreaking
                        CollapsingBorderModelEyeCatching.java
  Log:
  Fix for NPE
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.4   +2 -1      xml-fop/src/java/org/apache/fop/layoutmgr/table/CollapsingBorderModelEyeCatching.java
  
  Index: CollapsingBorderModelEyeCatching.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/layoutmgr/table/CollapsingBorderModelEyeCatching.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- CollapsingBorderModelEyeCatching.java	4 May 2005 07:18:13 -0000	1.1.2.3
  +++ CollapsingBorderModelEyeCatching.java	4 May 2005 15:08:05 -0000	1.1.2.4
  @@ -104,6 +104,7 @@
               current[2] = currentBody.getCommonBorderPaddingBackground().getBorderInfo(side);
           }
           if (otherGridUnit != null
  +                && otherBody != null
                   && ((otherSide == BEFORE && otherGridUnit.getFlag(GridUnit.FIRST_IN_BODY))
                       || (otherSide == AFTER && otherGridUnit.getFlag(GridUnit.LAST_IN_BODY)))) {
               //row group (=body, table-header or table-footer)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org