summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/ConnectionWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/ConnectionWrapper.cxx')
-rw-r--r--connectivity/source/commontools/ConnectionWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/ConnectionWrapper.cxx b/connectivity/source/commontools/ConnectionWrapper.cxx
index dcbc501110..d417c33163 100644
--- a/connectivity/source/commontools/ConnectionWrapper.cxx
+++ b/connectivity/source/commontools/ConnectionWrapper.cxx
@@ -109,7 +109,7 @@ void OConnectionWrapper::setDelegation(const Reference< XConnection >& _xConnect
// -----------------------------------------------------------------------------
void OConnectionWrapper::disposing()
{
- m_xConnection = NULL;
+m_xConnection.clear();
}
//-----------------------------------------------------------------------------
OConnectionWrapper::~OConnectionWrapper()