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

Markus Mohrhard markus.mohrhard at googlemail.com
Mon Jun 12 07:52:18 UTC 2017


 desktop/source/app/updater.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 64179a5c91ce32d994aad0847cdd728eb473507d
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Jun 12 07:04:30 2017 +0200

    better variable names
    
    Change-Id: I14e667f10ae472f24fbb6107eee449ff9cf7f4a4
    Reviewed-on: https://gerrit.libreoffice.org/38683
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index e9d9997ed3a4..4dc2d961f07a 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -131,8 +131,8 @@ void createStr(const OUString& rStr, char** pArgs, size_t i)
 
 char** createCommandLine()
 {
-    OUString aLibExecDirURL( "$BRAND_BASE_DIR/" );
-    rtl::Bootstrap::expandMacros(aLibExecDirURL);
+    OUString aInstallDir( "$BRAND_BASE_DIR/" );
+    rtl::Bootstrap::expandMacros(aInstallDir);
 
     size_t nArgs = 8;
     char** pArgs = new char*[nArgs];
@@ -149,7 +149,7 @@ char** createCommandLine()
     }
     {
         // the actual update directory
-        OUString aInstallPath = getPathFromURL(aLibExecDirURL);
+        OUString aInstallPath = getPathFromURL(aInstallDir);
         Updater::log("Install Dir: " + aInstallPath);
         createStr(aInstallPath, pArgs, 2);
     }


More information about the Libreoffice-commits mailing list