diff options
author | Keiron Liddle <keiron@apache.org> | 2002-07-29 11:00:14 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-07-29 11:00:14 +0000 |
commit | 5e6b8af0c771ffcac294bbc9ddccd146ef47956d (patch) | |
tree | e0b07200bcadbced2f6076f8cda0670c7c16ead9 /src/org | |
parent | c6192ec5820133804c02e59ec48ac54bc8c7faa6 (diff) | |
download | xmlgraphics-fop-5e6b8af0c771ffcac294bbc9ddccd146ef47956d.tar.gz xmlgraphics-fop-5e6b8af0c771ffcac294bbc9ddccd146ef47956d.zip |
adapted to change in batik
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195033 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/apache/fop/image/analyser/SVGReader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/image/analyser/SVGReader.java b/src/org/apache/fop/image/analyser/SVGReader.java index e4416d33e..8c3eac50a 100644 --- a/src/org/apache/fop/image/analyser/SVGReader.java +++ b/src/org/apache/fop/image/analyser/SVGReader.java @@ -158,10 +158,10 @@ public class SVGReader implements ImageReader { fis.mark(length + 1); SAXSVGDocumentFactory factory = new SAXSVGDocumentFactory( XMLImage.getParserName()); - SVGDocument doc = factory.createDocument(uri, fis); + SVGDocument doc = (SVGDocument)factory.createDocument(uri, fis); info.data = doc; - Element e = ((SVGDocument) doc).getRootElement(); + Element e = doc.getRootElement(); String s; SVGUserAgent userAg = new SVGUserAgent(ua, new AffineTransform()); |