diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2007-12-19 11:47:38 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2007-12-19 11:47:38 +0000 |
commit | 23e00caa1c1932af9699618af8bf746315409979 (patch) | |
tree | 77139e7b12f47d55ba6161d026a524a9cb42414a | |
parent | 5aba3fd7991c4c9c18a40ae33e3cbd234add2d38 (diff) | |
download | xmlgraphics-fop-23e00caa1c1932af9699618af8bf746315409979.tar.gz xmlgraphics-fop-23e00caa1c1932af9699618af8bf746315409979.zip |
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
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/RowPainter.java | 5 |
1 files changed, 1 insertions, 4 deletions
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())) { |