aboutsummaryrefslogtreecommitdiffstats
path: root/src/org
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2002-07-29 11:00:14 +0000
committerKeiron Liddle <keiron@apache.org>2002-07-29 11:00:14 +0000
commit5e6b8af0c771ffcac294bbc9ddccd146ef47956d (patch)
treee0b07200bcadbced2f6076f8cda0670c7c16ead9 /src/org
parentc6192ec5820133804c02e59ec48ac54bc8c7faa6 (diff)
downloadxmlgraphics-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.java4
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());