From 4d2ba716cbdbb05c193e23f3d46d0f60be1f685d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 20 Feb 2017 12:32:36 +0100 Subject: [PATCH] loplugin:subtlezeroinit: sfx2 Change-Id: I1a880bb4df7866b1185ef862ff84693c44a73385 --- sfx2/source/appl/appinit.cxx | 2 +- 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 );