From 930f0242a11538ddda0e80712be98ff6b9431fd2 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 16 Oct 2016 07:52:45 +0200 Subject: 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 Reviewed-by: Jochen Nitschke --- svtools/source/graphic/descriptor.cxx | 2 +- svtools/source/graphic/graphic.cxx | 2 +- svtools/source/graphic/renderer.cxx | 2 +- svtools/source/uno/unoimap.cxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'svtools') 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::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::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::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::get()) aAny <<= Reference< XUnoTunnel >(this); else - aAny <<= OWeakAggObject::queryAggregation( rType ); + aAny = OWeakAggObject::queryAggregation( rType ); return aAny; } -- cgit