]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed the missing table header bug.
authorJoerg Pietschmann <pietsch@apache.org>
Sat, 7 Feb 2004 23:10:19 +0000 (23:10 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Sat, 7 Feb 2004 23:10:19 +0000 (23:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197339 13f79535-47bb-0310-9956-ffa450edef68

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

index 22042e439fd01c3473e2eb0b55761403b56967cc..2715a38f059a8beef819f76ef3dcd61420486515 100644 (file)
@@ -273,7 +273,7 @@ public class Row extends BlockStackingLayoutManager {
         int cellcount = 0;
 
         if (pos == null) {
-            while ((curLM = getCellLM(cellcount++)) != null) {
+            while ((curLM = getCellLM(cellcount)) != null) {
                 curLM.resetPosition(null);
                 cellcount++;
             }
@@ -281,7 +281,7 @@ public class Row extends BlockStackingLayoutManager {
             RowPosition rpos = (RowPosition)pos;
             List breaks = rpos.cellBreaks;
 
-            while ((curLM = getCellLM(cellcount++)) != null) {
+            while ((curLM = getCellLM(cellcount)) != null) {
                 List childbreaks = (List)breaks.get(cellcount);
                 curLM.resetPosition((Position)childbreaks.get(childbreaks.size() - 1));
                 cellcount++;