summaryrefslogtreecommitdiff
path: root/comphelper/source/misc/officerestartmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/misc/officerestartmanager.cxx')
-rw-r--r--comphelper/source/misc/officerestartmanager.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/comphelper/source/misc/officerestartmanager.cxx b/comphelper/source/misc/officerestartmanager.cxx
index 974b8d65e7ae..1a98ddfce8da 100644
--- a/comphelper/source/misc/officerestartmanager.cxx
+++ b/comphelper/source/misc/officerestartmanager.cxx
@@ -87,9 +87,9 @@ void SAL_CALL OOfficeRestartManager::requestRestart( const uno::Reference< task:
// if the restart already running there is no need to trigger it again
if ( m_bRestartRequested )
return;
-#ifndef MACOSX
+
m_bRestartRequested = sal_True;
-#endif
+
// the office is still not initialized, no need to terminate, changing the state is enough
if ( !m_bOfficeInitialized )
return;