Author: vhennebert
Date: Sun Jan 27 06:09:12 2008
New Revision: 615604
URL: http://svn.apache.org/viewvc?rev=615604&view=rev
Log:
Of course startIndex == endIndex means there is one element whose length must
be computed... Changed >= into >
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=615604&r1=615603&r2=615604&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
Sun Jan 27 06:09:12 2008
@@ -234,7 +234,7 @@
// be used as padding.
// This should be handled automatically by a proper use of Knuth elements
private int computeContentLength(PrimaryGridUnit pgu, int startIndex, int
endIndex) {
- if (startIndex >= endIndex) {
+ if (startIndex > endIndex) {
// May happen if the cell contributes no content on the current
page (empty
// cell, in most cases)
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]