diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-20 19:58:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-21 07:35:09 +0100 |
commit | 06f1b8d46edcf23236c87dc53af8fc7a1541fd61 (patch) | |
tree | 38247b0eee23549d4a7b0ddfad5683b9ad423cb4 /cpputools | |
parent | aa512ffd39657f7c8924b2b40ad3cdb3b3282158 (diff) |
loplugin:subtlezeroinit: cpputools
Change-Id: Ib4a04395f067a3a288a57547daa734c4c9768eb8
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 2 |
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 ); |