From: Joerg Pietschmann Date: Sat, 7 Feb 2004 23:10:19 +0000 (+0000) Subject: Fixed the missing table header bug. X-Git-Tag: Root_Temp_KnuthStylePageBreaking~851 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bbe1a6381296280398f897d8c422fb33552c9081;p=xmlgraphics-fop.git Fixed the missing table header bug. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197339 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/table/Row.java b/src/java/org/apache/fop/layoutmgr/table/Row.java index 22042e439..2715a38f0 100644 --- a/src/java/org/apache/fop/layoutmgr/table/Row.java +++ b/src/java/org/apache/fop/layoutmgr/table/Row.java @@ -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++;