diff options
Diffstat (limited to 'scripting/source/provider/ActiveMSPList.cxx')
-rw-r--r-- | scripting/source/provider/ActiveMSPList.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx index 5411b5a474ef..3cf34551d52c 100644 --- a/scripting/source/provider/ActiveMSPList.cxx +++ b/scripting/source/provider/ActiveMSPList.cxx @@ -242,8 +242,7 @@ ActiveMSPList::addActiveMSP( const Reference< uno::XInterface >& xComponent, // should probably throw from this method!!, reexamine try { - Reference< lang::XComponent > xBroadcaster = - Reference< lang::XComponent >( xComponent, UNO_QUERY_THROW ); + Reference< lang::XComponent > xBroadcaster( xComponent, UNO_QUERY_THROW ); xBroadcaster->addEventListener( this ); } catch ( const Exception& ) |