diff options
author | fotis <fotis@unknown> | 2000-06-27 22:14:35 +0000 |
---|---|---|
committer | fotis <fotis@unknown> | 2000-06-27 22:14:35 +0000 |
commit | f11bad903dbef3d04d48b3a219fb0adb139ce953 (patch) | |
tree | e941d36bfd0fd6da736eb02c3e42ac84066d1a84 /src/org/apache/fop/fo/FOText.java | |
parent | 7724f41ad6e9e484f9a37b54b6a63fe3cb9c90ef (diff) | |
download | xmlgraphics-fop-f11bad903dbef3d04d48b3a219fb0adb139ce953.tar.gz xmlgraphics-fop-f11bad903dbef3d04d48b3a219fb0adb139ce953.zip |
replaces calls of System.err.println etc. with calls to the new MessageHandler methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193441 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/FOText.java')
-rw-r--r-- | src/org/apache/fop/fo/FOText.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/FOText.java b/src/org/apache/fop/fo/FOText.java index a35b16486..d3f4a8740 100644 --- a/src/org/apache/fop/fo/FOText.java +++ b/src/org/apache/fop/fo/FOText.java @@ -53,6 +53,7 @@ package org.apache.fop.fo; // FOP import org.apache.fop.layout.Area; +import org.apache.fop.messaging.MessageHandler; import org.apache.fop.layout.BlockArea; import org.apache.fop.layout.FontState; import org.apache.fop.datatypes.*; @@ -86,7 +87,7 @@ public class FOText extends FONode { public Status layout(Area area) throws FOPException { if (!(area instanceof BlockArea)) { - System.err.println("WARNING: text outside block area" + new String(ca, start, length)); + MessageHandler.errorln("WARNING: text outside block area" + new String(ca, start, length)); return new Status(Status.OK); } if (this.marker == START) { |