summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-12 07:05:02 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-06-12 09:52:16 +0200
commit9cdeee3a7740b4f1f28611f4db3bd5d8326c71ce (patch)
tree4f7e0ca6216bc4bbaaa594ce2733e78ca353174b /desktop
parent64179a5c91ce32d994aad0847cdd728eb473507d (diff)
use the shared path code
Change-Id: I046b8f497b78c4067abbf22180edb1b210020f4e Reviewed-on: https://gerrit.libreoffice.org/38684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/updater.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx
index 4dc2d961f07a..fbb48d137811 100644
--- a/desktop/source/app/updater.cxx
+++ b/desktop/source/app/updater.cxx
@@ -209,12 +209,9 @@ struct update_info
void update()
{
- OUString aLibExecDirURL( "$BRAND_BASE_DIR/" LIBO_LIBEXEC_FOLDER );
- rtl::Bootstrap::expandMacros(aLibExecDirURL);
-
utl::TempFile aTempDir(nullptr, true);
OUString aTempDirURL = aTempDir.GetURL();
- CopyUpdaterToTempDir(aLibExecDirURL, aTempDirURL);
+ CopyUpdaterToTempDir(Updater::getExecutableDirURL(), aTempDirURL);
OUString aTempDirPath = getPathFromURL(aTempDirURL);
OString aPath = OUStringToOString(aTempDirPath + "/" + OUString::fromUtf8(pUpdaterName), RTL_TEXTENCODING_UTF8);