Browse Source

Removed accumulatedBPD which is redundant with yoffset


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610891 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_95beta
Vincent Hennebert 16 years ago
parent
commit
f8dea60c18
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/java/org/apache/fop/layoutmgr/table/RowPainter.java

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

@@ -43,7 +43,6 @@ class RowPainter {
private TableRow rowFO = null;
private int colCount;
private int yoffset = 0;
private int accumulatedBPD = 0;
/** Currently handled row (= last encountered row). */
private EffRow lastRow = null;
private LayoutContext layoutContext;
@@ -91,7 +90,7 @@ class RowPainter {
}

int getAccumulatedBPD() {
return this.accumulatedBPD;
return yoffset;
}

/**
@@ -180,7 +179,6 @@ class RowPainter {
}
}
yoffset += actualRowHeight;
accumulatedBPD += actualRowHeight;
if (forcedFlush) {
// Either the end of the page is reached, then this was the last call of this
// method and we no longer care about lastRow; or the end of a table-part

Loading…
Cancel
Save