diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-09-29 18:00:35 +0200 |
---|---|---|
committer | Armin Le Grand <Armin.Le.Grand@cib.de> | 2016-10-11 13:56:22 +0200 |
commit | 35ec8253ad80b0381e73a8f00fd3deb2309f5fe4 (patch) | |
tree | e69a445e1d911b305cf90a386540b8e5e638e241 /desktop/source | |
parent | 2da3bb5c36fd8bf635ea3ac1a3db8eb1ea91a04c (diff) |
profilesafe: Add values for SecureUserConfig
feature/profilesafemode
Added default values for SecureUserConfig values
to soffice.ini/rc which enable the mechanism,
enable by default and set a maximum of three backups
file in packed form. Added more handy flag for easy
decision to add compressed/uncompressed.
Change-Id: I5a624c09fec4e4278314e13fc5f693ac085d5e61
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/app/app.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 798d60d71715..a9d10c3a99ba 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -569,11 +569,14 @@ void Desktop::Init() SetBootstrapError( BE_OFFICECONFIG_BROKEN, e.Message ); } + // test code for ProfileSafeMode to allow testing the fail + // of loading the office configuration initially. To use, + // either set to true and compile, or set a breakpoint + // in debugger and change the local bool static bool bTryHardOfficeconfigBroken(false); if (bTryHardOfficeconfigBroken) { - SAL_WARN("configmgr", "################# Desktop::Init() #####################"); SetBootstrapError(BE_OFFICECONFIG_BROKEN, OUString()); } } |