summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);