summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 12:32:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:35:00 +0100
commit4d2ba716cbdbb05c193e23f3d46d0f60be1f685d (patch)
tree7a763e2172980c61abf3e154243a9542cc2afbec /sfx2
parent1b8807c3ca3c1448e664d10286e07687f7ac0d9a (diff)
loplugin:subtlezeroinit: sfx2
Change-Id: I1a880bb4df7866b1185ef862ff84693c44a73385
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appinit.cxx2
-rw-r--r--sfx2/source/appl/shutdownicon.cxx2
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 );