aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-01-05 03:16:10 +0000
committerKeiron Liddle <keiron@apache.org>2001-01-05 03:16:10 +0000
commit60c95207b16b4a06f8f25c07cb40b199523436c1 (patch)
treec7902ccde1b4ba1e165dc946eca365e456b58596
parent2ea890ae77901120eb67c7eacf46f4f7381ca20c (diff)
downloadxmlgraphics-fop-60c95207b16b4a06f8f25c07cb40b199523436c1.tar.gz
xmlgraphics-fop-60c95207b16b4a06f8f25c07cb40b199523436c1.zip
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
-rw-r--r--src/org/apache/fop/fo/flow/TableBody.java4
1 files changed, 4 insertions, 0 deletions
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) &&