[Libreoffice-commits] .: xmerge/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Fri Apr 29 15:51:14 PDT 2011
xmerge/source/xmerge/java/org/openoffice/xmerge/util/ActiveSyncDriver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e87c552d190294e5404357b07c1e7c4abbbbe34a
Author: Cyril Roelandt <tipecaml at gmail.com>
Date: Thu Apr 28 01:02:51 2011 +0200
Removing the deprecated java.io.File.toURL() method.
java.io.File.toURL() has been replaced by java.io.File.toURI().toURL().
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/util/ActiveSyncDriver.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/util/ActiveSyncDriver.java
index 21c6b64..2b922da 100644
--- a/xmerge/source/xmerge/java/org/openoffice/xmerge/util/ActiveSyncDriver.java
+++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/util/ActiveSyncDriver.java
@@ -100,7 +100,7 @@ public class ActiveSyncDriver {
pluginJar = new File(ooClassDir + "pexcel.jar");
}
- ConverterInfoReader cirPlugin = new ConverterInfoReader(pluginJar.toURL().toString(), false);
+ ConverterInfoReader cirPlugin = new ConverterInfoReader(pluginJar.toURI().toURL().toString(), false);
ConverterInfoMgr.addPlugIn(cirPlugin.getConverterInfoEnumeration());
More information about the Libreoffice-commits
mailing list