xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhenneb...@apache.org
Subject svn commit: r610891 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/RowPainter.java
Date Thu, 10 Jan 2008 19:34:14 GMT
Author: vhennebert
Date: Thu Jan 10 11:34:13 2008
New Revision: 610891

URL: http://svn.apache.org/viewvc?rev=610891&view=rev
Log:
Removed accumulatedBPD which is redundant with yoffset

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/RowPainter.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/RowPainter.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/RowPainter.java?rev=610891&r1=610890&r2=610891&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/RowPainter.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/RowPainter.java Thu Jan
10 11:34:13 2008
@@ -43,7 +43,6 @@
     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 @@
     }
 
     int getAccumulatedBPD() {
-        return this.accumulatedBPD;
+        return yoffset;
     }
 
     /**
@@ -180,7 +179,6 @@
             }
         }
         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



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message