From: Vincent Hennebert Date: Wed, 19 Dec 2007 11:47:38 +0000 (+0000) Subject: I said currentGU can no longer be null X-Git-Tag: fop-0_95beta~192 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=23e00caa1c1932af9699618af8bf746315409979;p=xmlgraphics-fop.git I said currentGU can no longer be null git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@605517 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/table/RowPainter.java b/src/java/org/apache/fop/layoutmgr/table/RowPainter.java index 0b90bf9d8..6d2568afb 100644 --- a/src/java/org/apache/fop/layoutmgr/table/RowPainter.java +++ b/src/java/org/apache/fop/layoutmgr/table/RowPainter.java @@ -168,10 +168,7 @@ class RowPainter { //Add areas for row tclm.addRowBackgroundArea(rowFO, actualRowHeight, layoutContext.getRefIPD(), yoffset); for (int i = 0; i < primaryGridUnits.length; i++) { - GridUnit currentGU = lastRow.safelyGetGridUnit(i); - //currentGU can be null if there's no grid unit - //at this place in the current row (empty cell and no borders to process) - + GridUnit currentGU = lastRow.getGridUnit(i); if (primaryGridUnits[i] != null) { if (forcedFlush || ((end[i] == primaryGridUnits[i].getElements().size() - 1) && currentGU.isLastGridUnitRowSpan())) {