Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse.webbrowser / src / net / sourceforge / phpeclipse / webbrowser / internal / WebBrowserEditor.java
index f266e11..0c11f2f 100644 (file)
@@ -204,7 +204,7 @@ public class WebBrowserEditor extends EditorPart {
                        URL url = null;
                        try {
                                if (file != null && file.exists())
-                                       url = file.getLocation().toFile().toURL();
+                                       url = file.getFullPath().toFile().toURL();
                        } catch (Exception e) {
                                Trace.trace(Trace.SEVERE, "Error getting URL to file");
                        }