summaryrefslogtreecommitdiffstats
path: root/basic/source/uno/namecont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/uno/namecont.cxx')
-rw-r--r--basic/source/uno/namecont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 61b62632ef6f..a2b0391f92da 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -2681,7 +2681,7 @@ void SfxLibraryContainer::_disposing( const EventObject& _rSource )
void SAL_CALL SfxLibraryContainer::disposing()
{
Reference< XModel > xModel = mxOwnerDocument;
- EventObject aEvent( xModel.get() );
+ EventObject aEvent( xModel );
maVBAScriptListeners.disposing( aEvent );
stopAllComponentListening();
mxOwnerDocument.clear();