summaryrefslogtreecommitdiff
path: root/sfx2/source/safemode
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/safemode')
-rw-r--r--sfx2/source/safemode/safemode.cxx3
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;
}