CVS: jfor/src/org/jfor/jfor/rtflib/rtfdoc RtfTableRow.java,1.10,1.11

Peter Herweg <[email protected]> Fri, 27 Jun 2003 07:58:15 -0700
Newsgroups gmane.text.xml.jfor.cvs
Message-ID <[email protected]>
Update of /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc
In directory sc8-pr-cvs1:/tmp/cvs-serv30134

Modified Files:
	RtfTableRow.java 
Log Message:
Bug repaired: Nested tables had caused a NullPointerException

Index: RtfTableRow.java
===================================================================
RCS file: /cvsroot/jfor/jfor/src/org/jfor/jfor/rtflib/rtfdoc/RtfTableRow.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** RtfTableRow.java	18 Feb 2003 16:10:51 -0000	1.10
--- RtfTableRow.java	27 Jun 2003 14:58:13 -0000	1.11
***************
*** 62,67 ****
  // $Id$
  // $Log$
  // Revision 1.10  2003/02/18 16:10:51  rmarra
! // Contributions Normand Massé
  // inheritance and other fixes
  //
--- 62,70 ----
  // $Id$
  // $Log$
+ // Revision 1.11  2003/06/27 14:58:13  pherweg
+ // Bug repaired: Nested tables had caused a NullPointerException
+ //
  // Revision 1.10  2003/02/18 16:10:51  rmarra
! // Contributions Normand Massé
  // inheritance and other fixes
  //
***************
*** 323,327 ****
                  }
  
!                 if ( parentTable.isHighestRow(id) ) {
                      if ( !cell.getRtfAttributes().isSet( ITableAttributes.CELL_BORDER_BOTTOM ) ) {
                          cell.getRtfAttributes().set( ITableAttributes.CELL_BORDER_BOTTOM,
--- 326,330 ----
                  }
  
!                 if ( parentTable != null && parentTable.isHighestRow(id) ) {
                      if ( !cell.getRtfAttributes().isSet( ITableAttributes.CELL_BORDER_BOTTOM ) ) {
                          cell.getRtfAttributes().set( ITableAttributes.CELL_BORDER_BOTTOM,



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php