loplugin:subtlezeroinit: sfx2

Change-Id: I1a880bb4df7866b1185ef862ff84693c44a73385
This commit is contained in:
Stephan Bergmann
2017-02-20 12:32:36 +01:00
parent 1b8807c3ca
commit 4d2ba716cb
2 changed files with 2 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ void SfxApplication::Initialize_Impl()
#endif #endif
Reference < XDesktop2 > xDesktop = Desktop::create ( ::comphelper::getProcessComponentContext() ); Reference < XDesktop2 > xDesktop = Desktop::create ( ::comphelper::getProcessComponentContext() );
xDesktop->addTerminateListener( new SfxTerminateListener_Impl() ); xDesktop->addTerminateListener( new SfxTerminateListener_Impl );
pImpl->mxAppDispatch = new SfxStatusDispatcher; pImpl->mxAppDispatch = new SfxStatusDispatcher;

View File

@@ -295,7 +295,7 @@ void ShutdownIcon::FromTemplate()
if (xNotifier.is()) if (xNotifier.is())
{ {
EnterModalMode(); EnterModalMode();
xNotifier->dispatchWithNotification(aTargetURL, aArgs, new SfxNotificationListener_Impl()); xNotifier->dispatchWithNotification(aTargetURL, aArgs, new SfxNotificationListener_Impl);
} }
else else
xDisp->dispatch( aTargetURL, aArgs ); xDisp->dispatch( aTargetURL, aArgs );