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 /svtools | |
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 'svtools')
-rw-r--r-- | svtools/source/graphic/descriptor.cxx | 2 | ||||
-rw-r--r-- | svtools/source/graphic/graphic.cxx | 2 | ||||
-rw-r--r-- | svtools/source/graphic/renderer.cxx | 2 | ||||
-rw-r--r-- | svtools/source/uno/unoimap.cxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/graphic/descriptor.cxx b/svtools/source/graphic/descriptor.cxx index 4f73e4fab05c..e25d870f0f3b 100644 --- a/svtools/source/graphic/descriptor.cxx +++ b/svtools/source/graphic/descriptor.cxx @@ -184,7 +184,7 @@ uno::Any SAL_CALL GraphicDescriptor::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/svtools/source/graphic/graphic.cxx b/svtools/source/graphic/graphic.cxx index 5c56025388e6..2d188043472b 100644 --- a/svtools/source/graphic/graphic.cxx +++ b/svtools/source/graphic/graphic.cxx @@ -60,7 +60,7 @@ uno::Any SAL_CALL Graphic::queryAggregation( const uno::Type& rType ) else if( rType == cppu::UnoType<lang::XUnoTunnel>::get()) aAny <<= uno::Reference< lang::XUnoTunnel >(this); else - aAny <<= ::unographic::GraphicDescriptor::queryAggregation( rType ); + aAny = ::unographic::GraphicDescriptor::queryAggregation( rType ); return aAny; } diff --git a/svtools/source/graphic/renderer.cxx b/svtools/source/graphic/renderer.cxx index 161707f22264..d7134e7665e6 100644 --- a/svtools/source/graphic/renderer.cxx +++ b/svtools/source/graphic/renderer.cxx @@ -73,7 +73,7 @@ uno::Any SAL_CALL GraphicRendererVCL::queryAggregation( const uno::Type & rType else if( rType == cppu::UnoType<graphic::XGraphicRenderer>::get()) aAny <<= uno::Reference< graphic::XGraphicRenderer >(this); else - aAny <<= OWeakAggObject::queryAggregation( rType ); + aAny = OWeakAggObject::queryAggregation( rType ); return aAny; } diff --git a/svtools/source/uno/unoimap.cxx b/svtools/source/uno/unoimap.cxx index a3bcc1f51180..5859455b5dec 100644 --- a/svtools/source/uno/unoimap.cxx +++ b/svtools/source/uno/unoimap.cxx @@ -326,7 +326,7 @@ Any SAL_CALL SvUnoImageMapObject::queryAggregation( const Type & rType ) else if( rType == cppu::UnoType<XUnoTunnel>::get()) aAny <<= Reference< XUnoTunnel >(this); else - aAny <<= OWeakAggObject::queryAggregation( rType ); + aAny = OWeakAggObject::queryAggregation( rType ); return aAny; } |