From 60c95207b16b4a06f8f25c07cb40b199523436c1 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 5 Jan 2001 03:16:10 +0000 Subject: [PATCH] bails out if no rows in table body git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193951 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/flow/TableBody.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/apache/fop/fo/flow/TableBody.java b/src/org/apache/fop/fo/flow/TableBody.java index 0b80318ce..46a340e30 100644 --- a/src/org/apache/fop/fo/flow/TableBody.java +++ b/src/org/apache/fop/fo/flow/TableBody.java @@ -203,6 +203,10 @@ public class TableBody extends FObj { tr.removeLayout(areaContainer); i--; } + if(i == 0) { + resetMarker(); + return new Status(Status.AREA_FULL_NONE); + } } this.marker = i; if ((i != 0) && -- 2.39.5