]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Removed accumulatedBPD which is redundant with yoffset
authorVincent Hennebert <vhennebert@apache.org>
Thu, 10 Jan 2008 19:34:13 +0000 (19:34 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Thu, 10 Jan 2008 19:34:13 +0000 (19:34 +0000)
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

index 1af05cc99c8e039e60924050af7b0b6ecccb3401..59a7c9dc5c4e2eefc9863a1f7588cc5e167713c6 100644 (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