keiron      2002/07/29 04:00:14

  Modified:    src/org/apache/fop/image/analyser SVGReader.java
  Log:
  adapted to change in batik
  
  Revision  Changes    Path
  1.23      +3 -3      xml-fop/src/org/apache/fop/image/analyser/SVGReader.java
  
  Index: SVGReader.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/analyser/SVGReader.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- SVGReader.java    21 Mar 2002 09:37:15 -0000      1.22
  +++ SVGReader.java    29 Jul 2002 11:00:14 -0000      1.23
  @@ -158,10 +158,10 @@
                   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());
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to