You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by vh...@apache.org on 2008/01/10 20:34:14 UTC
svn commit: r610891 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/RowPainter.java
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