Change <file>.toURL() to <file>.toURI().toURL()

This commit is contained in:
Julien Nabet
2011-05-03 23:02:44 +02:00
parent b945adac81
commit 3b8b6cef10
5 changed files with 7 additions and 7 deletions

View File

@@ -1025,7 +1025,7 @@ public class FunctionHelper
// get file URL from the dialog
try
{
sFileURL = aChooser.getSelectedFile().toURL().toExternalForm();
sFileURL = aChooser.getSelectedFile().toURI().toURL().toExternalForm();
}
catch( MalformedURLException ex )
{