diff options
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 */ |