diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2008-01-27 14:09:12 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2008-01-27 14:09:12 +0000 |
commit | 4476c5bed846a37d7ffcc77349eb7256a420f7c5 (patch) | |
tree | f9e5a5e6041d0e125a72b932ffc1cb1750307f59 | |
parent | 72f5b1bbedd98607b474eb88a257aa47c2f22084 (diff) | |
download | xmlgraphics-fop-4476c5bed846a37d7ffcc77349eb7256a420f7c5.tar.gz xmlgraphics-fop-4476c5bed846a37d7ffcc77349eb7256a420f7c5.zip |
Of course startIndex == endIndex means there is one element whose length must be computed... Changed >= into >
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@615604 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/RowPainter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/RowPainter.java b/src/java/org/apache/fop/layoutmgr/table/RowPainter.java index 9004e9c17..54ac4867a 100644 --- a/src/java/org/apache/fop/layoutmgr/table/RowPainter.java +++ b/src/java/org/apache/fop/layoutmgr/table/RowPainter.java @@ -234,7 +234,7 @@ class RowPainter { // 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; |