diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-11 16:07:37 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-10-12 12:33:11 +0200 |
commit | b3b9ae6c6fd19b437a5414489a9f38fb310a2843 (patch) | |
tree | fd83787466b01f0481c610475120c2c7cdfe8def /sfx2/source/appl | |
parent | 6b44a8186da2270ef7d120b97380aabc297be76b (diff) |
safemode: Add flag to indicate safemode
Change-Id: Ifdbb291715b033eaace159297eac5348530e9f36
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/appserv.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index b09613e081e6..defd3b601d8b 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -127,6 +127,7 @@ #include <sfx2/sidebar/Sidebar.hxx> #include <sfx2/notebookbar/SfxNotebookBar.hxx> #include <sfx2/sidebar/SidebarController.hxx> +#include <sfx2/safemode.hxx> #include <comphelper/types.hxx> #include <officecfg/Office/Common.hxx> @@ -311,6 +312,7 @@ namespace IMPL_LINK_NOARG(SafeModeQueryDialog, RestartHdl, Button*, void) { EndDialog(RET_OK); + sfx2::SafeMode::putFlag(); uno::Reference< uno::XComponentContext > xContext = comphelper::getProcessComponentContext(); css::task::OfficeRestartManager::get(xContext)->requestRestart( css::uno::Reference< css::task::XInteractionHandler >()); |