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

New commits:
commit 94233c2e1e86c3617f327e8bfd3cd4a980adf200
Author:     Stephan Bergmann <stephan.bergm...@allotropia.de>
AuthorDate: Fri Dec 15 10:22:51 2023 +0100
Commit:     Stephan Bergmann <stephan.bergm...@allotropia.de>
CommitDate: Fri Dec 15 12:32:19 2023 +0100

    -Werror,-Wunused-result
    
    ...caused by typo in previous 58bfd8f982950566018f77ce8895963d914058f8 "Fix
    backward vs. forward slashes on Windows"
    
    Change-Id: Ibd1967688c6ab4c962818595d435c7f821ad3d64
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160820
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <stephan.bergm...@allotropia.de>

diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 8796583df4d8..925b6b7116a4 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -91,7 +91,7 @@ OUString normalizePath(const OUString& rPath)
     aPath = aPath.replace('\\', '/');
 #endif
 
-    aPath.replaceAll("//", "/");
+    aPath = aPath.replaceAll("//", "/");
 
     // remove final /
     if (aPath.endsWith("/"))

Reply via email to