diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-05-03 23:02:44 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-05-03 23:02:44 +0200 |
commit | 3b8b6cef107bdf209e6258c5bb4d51e880f6ecf6 (patch) | |
tree | 1bdf5d3cc9366d865d42423194a7eda224a13515 /odk/examples/DevelopersGuide/Drawing | |
parent | b945adac81c3b38d32ccc7d60f3d99fedd86a30f (diff) |
Change <file>.toURL() to <file>.toURI().toURL()
Diffstat (limited to 'odk/examples/DevelopersGuide/Drawing')
-rw-r--r-- | odk/examples/DevelopersGuide/Drawing/GraphicExportDemo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/Drawing/GraphicExportDemo.java b/odk/examples/DevelopersGuide/Drawing/GraphicExportDemo.java index 65c9ecf99b4f..c470c7cb6f1b 100644 --- a/odk/examples/DevelopersGuide/Drawing/GraphicExportDemo.java +++ b/odk/examples/DevelopersGuide/Drawing/GraphicExportDemo.java @@ -100,7 +100,7 @@ public class GraphicExportDemo aProps[0].Value = "WMF"; */ java.io.File destFile = new java.io.File(args[1]); - java.net.URL destUrl = destFile.toURL(); + java.net.URL destUrl = destFile.toURI().toURL(); aProps[1] = new PropertyValue(); aProps[1].Name = "URL"; |