From 60c95207b16b4a06f8f25c07cb40b199523436c1 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 5 Jan 2001 03:16:10 +0000 Subject: 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(+) (limited to 'src/org') 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) && -- cgit v1.2.3