Browse Source

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
tags/fop-0_95beta
Vincent Hennebert 16 years ago
parent
commit
23e00caa1c
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      src/java/org/apache/fop/layoutmgr/table/RowPainter.java

+ 1
- 4
src/java/org/apache/fop/layoutmgr/table/RowPainter.java View File

@@ -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())) {

Loading…
Cancel
Save