diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:49:07 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-13 17:54:23 +0200 |
commit | 9ea1bb2c1d2e20c91a4f51474e1db9316e79b149 (patch) | |
tree | 7f7719388d531a7ba909427a06083c6f04911d1a /comphelper | |
parent | ad82e0d25ec6eb68361d67db8aaa1740ec70a5c5 (diff) |
loplugin:staticcall
Change-Id: Iae319f84028bb2468ca663afe9a82eb3cf46ae37
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() ) |