From f8dea60c1848c1eea105d7133e258366caf658a1 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Thu, 10 Jan 2008 19:34:13 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/layoutmgr/table/RowPainter.java | 4 +--- 1 file changed, 1 insertion(+), 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 -- 2.39.5