[Libreoffice-commits] .: filter/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Mon May 2 13:51:09 PDT 2011
filter/source/svg/SOTranscoder.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3481914bf347fada984c2879c097426e15424d98
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon May 2 22:50:20 2011 +0200
Change <file>.toURL() to <file>.toURI().toURL()
diff --git a/filter/source/svg/SOTranscoder.java b/filter/source/svg/SOTranscoder.java
index 05a592f..b4343d7 100644
--- a/filter/source/svg/SOTranscoder.java
+++ b/filter/source/svg/SOTranscoder.java
@@ -37,7 +37,7 @@ public class SOTranscoder
PNGTranscoder aTranscoder = new PNGTranscoder();
OutputStream aOStm = new FileOutputStream( args[ 1 ] );
- aTranscoder.transcode( new TranscoderInput( new File( args[ 0 ] ).toURL().toString() ), new TranscoderOutput( aOStm ) );
+ aTranscoder.transcode( new TranscoderInput( new File( args[ 0 ] ).toURI().toURL().toString() ), new TranscoderOutput( aOStm ) );
aOStm.flush();
aOStm.close();
More information about the Libreoffice-commits
mailing list