diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/factory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index 160a17ace576..f005337db8ce 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -463,7 +463,7 @@ void OFactoryComponentHelper::dispose() // do not delete in the guard section MutexGuard aGuard( aMutex ); x = xTheInstance; - xTheInstance = Reference<XInterface >(); + xTheInstance.clear(); } // if it is a component call dispose at the component Reference<XComponent > xComp( x, UNO_QUERY ); |