summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-08-23 08:38:20 +0000
committerOcke Janssen <oj@openoffice.org>2002-08-23 08:38:20 +0000
commit34f7c087be731a0aa54981bdfc8bb98b3f8affaf (patch)
tree57cb4f10bc9ef7f90542334f5d2cb5557a02d71a /connectivity
parent37c6b5f2d5ed9276dbc85ed47afe8d7587aa1c6e (diff)
#101798# change the aggreation call in setDelegator
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/ConnectionWrapper.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/connectivity/source/commontools/ConnectionWrapper.cxx b/connectivity/source/commontools/ConnectionWrapper.cxx
index f57050959db4..678436ab9fbf 100644
--- a/connectivity/source/commontools/ConnectionWrapper.cxx
+++ b/connectivity/source/commontools/ConnectionWrapper.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ConnectionWrapper.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: oj $ $Date: 2002-08-21 10:23:56 $
+ * last change: $Author: oj $ $Date: 2002-08-23 09:38:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -107,10 +107,12 @@ void OConnectionWrapper::setDelegation(Reference< XAggregation >& _rxProxyConnec
// transfer the (one and only) real ref to the aggregate to our member
m_xProxyConnection = _rxProxyConnection;
_rxProxyConnection = NULL;
- ::comphelper::query_aggregation(m_xProxyConnection,m_xConnection);
+
// set ourself as delegator
Reference<XInterface> xIf = static_cast< XUnoTunnel* >( this );
m_xProxyConnection->setDelegator( xIf );
+
+ ::comphelper::query_aggregation(m_xProxyConnection,m_xConnection);
}
osl_decrementInterlockedCount( &_rRefCount );
}