diff options
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/accessiblewrapper.cxx | 2 | ||||
-rw-r--r-- | comphelper/source/property/propagg.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/comphelper/source/misc/accessiblewrapper.cxx b/comphelper/source/misc/accessiblewrapper.cxx index 646145d8df33..1b4d26ebcb4d 100644 --- a/comphelper/source/misc/accessiblewrapper.cxx +++ b/comphelper/source/misc/accessiblewrapper.cxx @@ -66,7 +66,7 @@ namespace comphelper { Reference< XComponent > xContextComponent; if ( _rMapEntry.second.is() ) - xContextComponent = xContextComponent.query( _rMapEntry.second->getAccessibleContext() ); + xContextComponent.set(_rMapEntry.second->getAccessibleContext(), css::uno::UNO_QUERY); if ( xContextComponent.is() ) xContextComponent->dispose(); } diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx index bf23a413588f..95fe1f5768ab 100644 --- a/comphelper/source/property/propagg.cxx +++ b/comphelper/source/property/propagg.cxx @@ -565,10 +565,10 @@ void OPropertySetAggregationHelper::setAggregation(const ::com::sun::star::uno: m_bListening = false; } - m_xAggregateState = m_xAggregateState.query( _rxDelegate ); - m_xAggregateSet = m_xAggregateSet.query( _rxDelegate ); - m_xAggregateMultiSet = m_xAggregateMultiSet.query( _rxDelegate ); - m_xAggregateFastSet = m_xAggregateFastSet.query( _rxDelegate ); + m_xAggregateState.set(_rxDelegate, css::uno::UNO_QUERY); + m_xAggregateSet.set(_rxDelegate, css::uno::UNO_QUERY); + m_xAggregateMultiSet.set(_rxDelegate, css::uno::UNO_QUERY); + m_xAggregateFastSet.set(_rxDelegate, css::uno::UNO_QUERY); // must support XPropertySet and XMultiPropertySet if ( m_xAggregateSet.is() && !m_xAggregateMultiSet.is() ) |