diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-17 08:57:46 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-17 09:33:10 +0000 |
commit | 2f57632672fa2cd21c9b0113e7a5f8bd033157c4 (patch) | |
tree | 744f48bab8bf6ab122ea25633129581a656b9158 /desktop/source/app/app.cxx | |
parent | d19cb7f5974216d3c52f758f00557a001dd1bd40 (diff) |
Force disable OpenGL in Safe Mode
Change-Id: I3f19231d9a9168499d9f9ed970d4da1a69cca36a
Reviewed-on: https://gerrit.libreoffice.org/29959
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'desktop/source/app/app.cxx')
-rw-r--r-- | desktop/source/app/app.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 6396a239f3cb..eb48be03baaa 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -2088,8 +2088,9 @@ void Desktop::OpenClients() bool bAllowRecoveryAndSessionManagement = ( !rArgs.IsNoRestore() ) && ( !rArgs.IsHeadless() ); // Enter safe mode if requested - if (rArgs.IsSafeMode() || sfx2::SafeMode::hasFlag()) + if (Application::IsSafeModeEnabled()) { handleSafeMode(); + } #if HAVE_FEATURE_BREAKPAD |