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/render/awt | |
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/render/awt')
-rw-r--r-- | src/org/apache/fop/render/awt/AWTRenderer.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/org/apache/fop/render/awt/AWTRenderer.java b/src/org/apache/fop/render/awt/AWTRenderer.java index 87ff9633b..1318049a6 100644 --- a/src/org/apache/fop/render/awt/AWTRenderer.java +++ b/src/org/apache/fop/render/awt/AWTRenderer.java @@ -10,6 +10,7 @@ package org.apache.fop.render.awt; */ import org.apache.fop.layout.*; +import org.apache.fop.messaging.MessageHandler; import org.apache.fop.datatypes.*; import org.apache.fop.image.*; import org.apache.fop.svg.*; @@ -450,7 +451,7 @@ public class AWTRenderer implements Renderer, Printable, Pageable { FopImage img = area.getImage(); if (img == null) { - System.out.println("area.getImage() is null"); + MessageHandler.logln("area.getImage() is null"); } try { @@ -470,7 +471,7 @@ public class AWTRenderer implements Renderer, Printable, Pageable { currentYPosition -= h; } catch (FopImageException imgex) { // ? - System.out.println("Error while loading image : " + imgex.getMessage()); + MessageHandler.logln("Error while loading image : " + imgex.getMessage()); } } |