diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-16 08:31:07 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-16 08:31:07 +0000 |
commit | e0ee07b3f1fc71f9f5e5c755a6519a9c029808ba (patch) | |
tree | 557fd40913ae0424ac6ef010264293669dbf93ed | |
parent | 1bc2a276bf59f9cbee9a6ae009e9686b98597156 (diff) |
INTEGRATION: CWS dba19 (1.3.80); FILE MERGED
2004/11/08 07:06:50 oj 1.3.80.1: #i36686# fix solaris temp var bug for ref counts
-rw-r--r-- | comphelper/source/misc/proxyaggregation.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/comphelper/source/misc/proxyaggregation.cxx b/comphelper/source/misc/proxyaggregation.cxx index 20f828a2348b..4324020a29a6 100644 --- a/comphelper/source/misc/proxyaggregation.cxx +++ b/comphelper/source/misc/proxyaggregation.cxx @@ -2,9 +2,9 @@ * * $RCSfile: proxyaggregation.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: kz $ $Date: 2004-03-25 15:01:03 $ + * last change: $Author: obo $ $Date: 2004-11-16 09:31:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -98,7 +98,9 @@ namespace comphelper // then the proxy itself if ( xFactory.is() ) { - m_xProxyAggregate = xFactory->createProxy( _rxComponent ); + { // i36686 OJ: achieve the desctruction of the tempoary -> otherwise it leads to _rRefCount -= 2 + m_xProxyAggregate = xFactory->createProxy( _rxComponent ); + } if ( m_xProxyAggregate.is() ) m_xProxyAggregate->queryAggregation( ::getCppuType( &m_xProxyTypeAccess ) ) >>= m_xProxyTypeAccess; |