From d69006657512a5d23b03c69d89b378f47fa5c521 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Wed, 12 Oct 2016 10:43:55 +0200 Subject: Fix writing the flag file Change-Id: Id2eef64b52ac0f7c48dc090ed3ce41f5cde6b775 --- sfx2/source/safemode/safemode.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sfx2') 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; } -- cgit