diff options
-rw-r--r-- | sfx2/source/appl/appinit.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/shutdownicon.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/appl/appinit.cxx b/sfx2/source/appl/appinit.cxx index be792e5ddb05..3be03707ff3b 100644 --- a/sfx2/source/appl/appinit.cxx +++ b/sfx2/source/appl/appinit.cxx @@ -203,7 +203,7 @@ void SfxApplication::Initialize_Impl() #endif Reference < XDesktop2 > xDesktop = Desktop::create ( ::comphelper::getProcessComponentContext() ); - xDesktop->addTerminateListener( new SfxTerminateListener_Impl() ); + xDesktop->addTerminateListener( new SfxTerminateListener_Impl ); pImpl->mxAppDispatch = new SfxStatusDispatcher; diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index aa20743a6219..348556520c92 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -295,7 +295,7 @@ void ShutdownIcon::FromTemplate() if (xNotifier.is()) { EnterModalMode(); - xNotifier->dispatchWithNotification(aTargetURL, aArgs, new SfxNotificationListener_Impl()); + xNotifier->dispatchWithNotification(aTargetURL, aArgs, new SfxNotificationListener_Impl); } else xDisp->dispatch( aTargetURL, aArgs ); |