summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
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 );