summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-02-20 19:58:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-02-21 07:35:09 +0100
commit06f1b8d46edcf23236c87dc53af8fc7a1541fd61 (patch)
tree38247b0eee23549d4a7b0ddfad5683b9ad423cb4 /cpputools
parentaa512ffd39657f7c8924b2b40ad3cdb3b3282158 (diff)
loplugin:subtlezeroinit: cpputools
Change-Id: Ib4a04395f067a3a288a57547daa734c4c9768eb8
Diffstat (limited to 'cpputools')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index bed17183dfd7..30dda6f83c81 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -339,7 +339,7 @@ void ODisposingListener::disposing( const EventObject & )
void ODisposingListener::waitFor( const Reference< XComponent > & xComp )
{
- ODisposingListener * pListener = new ODisposingListener();
+ ODisposingListener * pListener = new ODisposingListener;
Reference< XEventListener > xListener( pListener );
xComp->addEventListener( xListener );