diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-16 07:52:45 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-19 05:28:29 +0000 |
commit | 930f0242a11538ddda0e80712be98ff6b9431fd2 (patch) | |
tree | 77e6490ba9e211d3a8f08b214bec9ba41a77c681 /svx | |
parent | 42062d99f171196778685e655e4edafd33ac159f (diff) |
replace <<= with assign for <<= with rhs Any
queryAggregation and queryInterface return Any
Change-Id: Ib8e3e742bd66f7419cad583988b247bb628f7b4a
Reviewed-on: https://gerrit.libreoffice.org/29912
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/unopool.cxx | 2 | ||||
-rw-r--r-- | svx/source/unogallery/unogalitem.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx index 15752f7bd7c4..74bc8e260143 100644 --- a/svx/source/unodraw/unopool.cxx +++ b/svx/source/unodraw/unopool.cxx @@ -353,7 +353,7 @@ uno::Any SAL_CALL SvxUnoDrawPool::queryAggregation( const uno::Type & rType ) else if( rType == cppu::UnoType<beans::XMultiPropertySet>::get()) aAny <<= uno::Reference< beans::XMultiPropertySet >(this); else - aAny <<= OWeakAggObject::queryAggregation( rType ); + aAny = OWeakAggObject::queryAggregation( rType ); return aAny; } diff --git a/svx/source/unogallery/unogalitem.cxx b/svx/source/unogallery/unogalitem.cxx index 1c4fcf4b91f1..037991f39d12 100644 --- a/svx/source/unogallery/unogalitem.cxx +++ b/svx/source/unogallery/unogalitem.cxx @@ -90,7 +90,7 @@ uno::Any SAL_CALL GalleryItem::queryAggregation( const uno::Type & rType ) else if( rType == cppu::UnoType<beans::XMultiPropertySet>::get()) aAny <<= uno::Reference< beans::XMultiPropertySet >(this); else - aAny <<= OWeakAggObject::queryAggregation( rType ); + aAny = OWeakAggObject::queryAggregation( rType ); return aAny; } |