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/svg/Rect.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/svg/Rect.java')
-rw-r--r-- | src/org/apache/fop/svg/Rect.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/apache/fop/svg/Rect.java b/src/org/apache/fop/svg/Rect.java index dcce4145c..6213144a7 100644 --- a/src/org/apache/fop/svg/Rect.java +++ b/src/org/apache/fop/svg/Rect.java @@ -53,6 +53,7 @@ package org.apache.fop.svg; // FOP import org.apache.fop.fo.*; +import org.apache.fop.messaging.MessageHandler; import org.apache.fop.fo.properties.*; import org.apache.fop.layout.Area; import org.apache.fop.layout.FontState; @@ -123,7 +124,7 @@ public class Rect extends FObj { ((SVGArea) area).addGraphic(new RectGraphic(x, y, width, height)); } else { /* otherwise generate a warning */ - System.err.println("WARNING: svg:rect outside svg:svg"); + MessageHandler.errorln("WARNING: svg:rect outside svg:svg"); } /* return status */ |