[Libreoffice-commits] core.git: desktop/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Aug 19 00:57:57 UTC 2017


 desktop/source/app/updater.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 10a914f3d891ca641fea99b19fb2de4f9a956cb4
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sun Aug 13 19:53:55 2017 +0200

    updater: use forward slashes
    
    Change-Id: I56b46e55007a4c30eb3e1438f8238bd3271fb993

diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 445b13db2ec5..f5955bc8b5e5 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -90,7 +90,7 @@ OUString normalizePath(const OUString& rPath)
         aPath = aTempPath.copy(0, i) + aPath.copy(nIndex + 3);
     }
 
-    return aPath;
+    return aPath.replaceAll("\\", "/");
 }
 
 void CopyFileToDir(const OUString& rTempDirURL, const OUString rFileName, const OUString& rOldDir)


More information about the Libreoffice-commits mailing list