aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/FOText.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/FOText.java')
-rw-r--r--src/org/apache/fop/fo/FOText.java3
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) {