diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2008-01-10 19:34:13 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2008-01-10 19:34:13 +0000 |
commit | f8dea60c1848c1eea105d7133e258366caf658a1 (patch) | |
tree | b7778c4d46dfc80861e0b6c249293cf2ad9031b7 /src/java/org | |
parent | 2282c3ce2e807a2dfbf205f2d2cf6ae98442f474 (diff) | |
download | xmlgraphics-fop-f8dea60c1848c1eea105d7133e258366caf658a1.tar.gz xmlgraphics-fop-f8dea60c1848c1eea105d7133e258366caf658a1.zip |
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
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/RowPainter.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/RowPainter.java b/src/java/org/apache/fop/layoutmgr/table/RowPainter.java index 1af05cc99..59a7c9dc5 100644 --- a/src/java/org/apache/fop/layoutmgr/table/RowPainter.java +++ b/src/java/org/apache/fop/layoutmgr/table/RowPainter.java @@ -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 |