]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Stupid mistake, cell widths were not right.
authorJeremias Maerki <jeremias@apache.org>
Wed, 6 Apr 2005 08:52:30 +0000 (08:52 +0000)
committerJeremias Maerki <jeremias@apache.org>
Wed, 6 Apr 2005 08:52:30 +0000 (08:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_KnuthStylePageBreaking@198567 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java

index ec0e149bf99538046ca6aaedfe7842c8ebe2a9a3..2dbb7e847cbba63f91c0b46c7446162f24f17d09 100644 (file)
@@ -86,8 +86,8 @@ public class TableContentLayoutManager {
 
                     //Calculate width of cell
                     int spanWidth = 0;
-                    for (int i = primary.getStartRow(); 
-                            i < primary.getStartRow() + primary.getCell().getNumberColumnsSpanned();
+                    for (int i = primary.getStartCol(); 
+                            i < primary.getStartCol() + primary.getCell().getNumberColumnsSpanned();
                             i++) {
                         spanWidth += getTableLM().getColumns().getColumn(i + 1)
                             .getColumnWidth().getValue();