From c3f957b50ca3f1305772f5660513e1f9b165bc76 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 6 Oct 2000 00:01:50 +0000 Subject: [PATCH] this at least prevents an ArrayIndexOutOfBoundsException when text in static areas overflows and is layed out the second time git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193718 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/FOText.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/apache/fop/fo/FOText.java b/src/org/apache/fop/fo/FOText.java index d3f4a8740..c8add0562 100644 --- a/src/org/apache/fop/fo/FOText.java +++ b/src/org/apache/fop/fo/FOText.java @@ -123,6 +123,7 @@ public class FOText extends FONode { whiteSpaceTreatment, ca, this.marker, length); if (this.marker == -1) { + this.marker = 0; return new Status(Status.OK); } else if (this.marker != orig_start) { return new Status(Status.AREA_FULL_SOME); -- 2.39.5