aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/org/apache/fop/layoutmgr/table/Row.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/org/apache/fop/layoutmgr/table/Row.java b/src/org/apache/fop/layoutmgr/table/Row.java
index c12bbba11..beccceb70 100644
--- a/src/org/apache/fop/layoutmgr/table/Row.java
+++ b/src/org/apache/fop/layoutmgr/table/Row.java
@@ -200,7 +200,16 @@ public class Row extends BlockStackingLayoutManager {
MinOptMax rowSize = new MinOptMax(min, opt, max);
- setFinished(true);
+ boolean fin = true;
+ cellcount = 0;
+ while ((curLM = getCellLM(cellcount++)) != null) {
+ if (!curLM.isFinished()) {
+ fin = false;
+ break;
+ }
+ }
+
+ setFinished(fin);
RowPosition rp = new RowPosition(this, breakList.size() - 1, breakList);
BreakPoss breakPoss = new BreakPoss(rp);
if (over) {