diff options
Diffstat (limited to 'src/org/apache/fop/fo/FOTreeBuilder.java')
-rw-r--r-- | src/org/apache/fop/fo/FOTreeBuilder.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/org/apache/fop/fo/FOTreeBuilder.java b/src/org/apache/fop/fo/FOTreeBuilder.java index 0d3bc52ea..d00308588 100644 --- a/src/org/apache/fop/fo/FOTreeBuilder.java +++ b/src/org/apache/fop/fo/FOTreeBuilder.java @@ -52,6 +52,7 @@ package org.apache.fop.fo; // FOP import org.apache.fop.layout.AreaTree; +import org.apache.fop.messaging.MessageHandler; import org.apache.fop.apps.FOPException; import org.apache.fop.fo.pagination.Root; @@ -178,7 +179,7 @@ public class FOTreeBuilder extends HandlerBase { /** SAX Handler for the start of the document */ public void startDocument() { - System.err.println("building formatting object tree"); + MessageHandler.logln("building formatting object tree"); } /** SAX Handler for the start of an element */ @@ -212,7 +213,7 @@ public class FOTreeBuilder extends HandlerBase { if (fobjMaker == null) { if (!this.unknownFOs.containsKey(fullName)) { this.unknownFOs.put(fullName, ""); - System.err.println("WARNING: Unknown formatting object " + MessageHandler.errorln("WARNING: Unknown formatting object " + fullName); } fobjMaker = new FObjMixed.Maker(); // fall back @@ -248,7 +249,7 @@ public class FOTreeBuilder extends HandlerBase { */ public void format(AreaTree areaTree) throws FOPException { - System.err.println("formatting FOs into areas"); + MessageHandler.logln("formatting FOs into areas"); ((Root) this.rootFObj).format(areaTree); } } |