From: Keiron Liddle Date: Fri, 27 Dec 2002 14:00:44 +0000 (+0000) Subject: properly check if row finished X-Git-Tag: Alt-Design-integration-base~206 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=233f809aefcc9835d1399d5a88715e6b4526f373;p=xmlgraphics-fop.git properly check if row finished git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195810 13f79535-47bb-0310-9956-ffa450edef68 --- 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) {