From 233f809aefcc9835d1399d5a88715e6b4526f373 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 27 Dec 2002 14:00:44 +0000 Subject: [PATCH] properly check if row finished git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195810 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/layoutmgr/table/Row.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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) { -- 2.39.5