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 18:42:06 UTC
svn commit: r610848 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/layoutmgr/table/RowPainter.java
Author: vhennebert
Date: Thu Jan 10 09:41:52 2008
New Revision: 610848
URL: http://svn.apache.org/viewvc?rev=610848&view=rev
Log:
No need to check if the end of the cell is reached when creating the areas for a row
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=610848&r1=610847&r2=610848&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 09:41:52 2008
@@ -170,8 +170,7 @@
for (int i = 0; i < primaryGridUnits.length; i++) {
GridUnit currentGU = lastRow.getGridUnit(i);
if (primaryGridUnits[i] != null) {
- if (forcedFlush || ((end[i] == primaryGridUnits[i].getElements().size() - 1)
- && currentGU.isLastGridUnitRowSpan())) {
+ if (forcedFlush || currentGU.isLastGridUnitRowSpan()) {
//the last line in the "if" above is to avoid a premature end of a
//row-spanned cell because no CellParts are generated after a cell is
//finished with its content.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org