aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/svg/SVGRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/svg/SVGRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/svg/SVGRenderer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/svg/SVGRenderer.java b/src/java/org/apache/fop/render/svg/SVGRenderer.java
index 0a65b0b2a..5bed6232e 100644
--- a/src/java/org/apache/fop/render/svg/SVGRenderer.java
+++ b/src/java/org/apache/fop/render/svg/SVGRenderer.java
@@ -161,8 +161,8 @@ public class SVGRenderer extends AbstractRenderer implements XMLHandler {
*/
public void setUserAgent(FOUserAgent agent) {
super.setUserAgent(agent);
- userAgent.setDefaultXMLHandler(SVG_MIME_TYPE, this);
- userAgent.addXMLHandler(SVG_MIME_TYPE, SVG_NAMESPACE, this);
+ setDefaultXMLHandler(userAgent, SVG_MIME_TYPE, this);
+ addXMLHandler(userAgent, SVG_MIME_TYPE, SVG_NAMESPACE, this);
}
/**