diff options
Diffstat (limited to 'basic/source/uno')
-rw-r--r-- | basic/source/uno/namecont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index a9e2c0e454f5..6996ab1e70d1 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -2779,7 +2779,7 @@ void SAL_CALL SfxLibraryContainer::disposing() EventObject aEvent( xModel.get() ); maVBAScriptListeners.disposing( aEvent ); stopAllComponentListening(); - mxOwnerDocument = WeakReference< XModel >(); + mxOwnerDocument.clear(); } // Methods XLibraryContainerPassword |