[Libreoffice-commits] core.git: wizards/com

Xisco Fauli anistenis at gmail.com
Mon Nov 18 15:02:14 PST 2013


 wizards/com/sun/star/wizards/document/OfficeDocument.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ef089191076493d89e033cbbebd7f0dda92f6abe
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Mon Nov 18 23:57:47 2013 +0100

    fdo#68788: Don't use systemPathToFileUrl here
    
    it works on Linux but not on Windows.
    
    Change-Id: Ia9af362c09d46c678fa4ebe8cf4922dae3dddccf

diff --git a/wizards/com/sun/star/wizards/document/OfficeDocument.py b/wizards/com/sun/star/wizards/document/OfficeDocument.py
index eb6fb0a..35d3183 100644
--- a/wizards/com/sun/star/wizards/document/OfficeDocument.py
+++ b/wizards/com/sun/star/wizards/document/OfficeDocument.py
@@ -105,7 +105,7 @@ class OfficeDocument(object):
         xComponent = None
         try:
             xComponent = frame.loadComponentFromURL(
-                systemPathToFileUrl(sURL), "_self", 0, tuple(loadValues))
+                sURL, "_self", 0, tuple(loadValues))
 
         except Exception:
             traceback.print_exc()


More information about the Libreoffice-commits mailing list