diff options
author | Joerg Pietschmann <pietsch@apache.org> | 2004-02-07 23:10:19 +0000 |
---|---|---|
committer | Joerg Pietschmann <pietsch@apache.org> | 2004-02-07 23:10:19 +0000 |
commit | bbe1a6381296280398f897d8c422fb33552c9081 (patch) | |
tree | b4be14cd3ef3df1fb1c0773a26964d412a8e171d /src/java/org | |
parent | cd3952f488ef06adc464bfdd1bd6cd07c96ac763 (diff) | |
download | xmlgraphics-fop-bbe1a6381296280398f897d8c422fb33552c9081.tar.gz xmlgraphics-fop-bbe1a6381296280398f897d8c422fb33552c9081.zip |
Fixed the missing table header bug.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197339 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/Row.java | 4 |
1 files changed, 2 insertions, 2 deletions
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++; |