diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-12 10:43:55 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-12 12:33:11 +0200 |
commit | d69006657512a5d23b03c69d89b378f47fa5c521 (patch) | |
tree | 9a87b8eb36d5cf7f17495992fb7cf42e4ac3c39b /sfx2 | |
parent | a1261b63f22b8d9d7b134137d1252b6b28dea35c (diff) |
Fix writing the flag file
Change-Id: Id2eef64b52ac0f7c48dc090ed3ce41f5cde6b775
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/safemode/safemode.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/safemode/safemode.cxx b/sfx2/source/safemode/safemode.cxx index a5669d19587f..3e84f7ed02e6 100644 --- a/sfx2/source/safemode/safemode.cxx +++ b/sfx2/source/safemode/safemode.cxx @@ -45,11 +45,12 @@ bool SafeMode::removeFlag() OUString SafeMode::getFileName() { - OUString url("${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}/safemode"); + OUString url("${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("bootstrap") ":UserInstallation}/"); rtl::Bootstrap::expandMacros(url); OUString aProfilePath; FileBase::getSystemPathFromFileURL(url, aProfilePath); + FileBase::getAbsoluteFileURL(url, "safemode", aProfilePath); return aProfilePath; } |