aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/table/Row.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/table/Row.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/Row.java4
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++;