Fix writing the flag file
Change-Id: Id2eef64b52ac0f7c48dc090ed3ce41f5cde6b775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user