summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-16 07:52:45 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-10-19 05:28:29 +0000
commit930f0242a11538ddda0e80712be98ff6b9431fd2 (patch)
tree77e6490ba9e211d3a8f08b214bec9ba41a77c681 /svl
parent42062d99f171196778685e655e4edafd33ac159f (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 'svl')
-rw-r--r--svl/source/fsstor/fsstorage.cxx2
-rw-r--r--svl/source/fsstor/ostreamcontainer.cxx12
2 files changed, 7 insertions, 7 deletions
diff --git a/svl/source/fsstor/fsstorage.cxx b/svl/source/fsstor/fsstorage.cxx
index cbcc682599fc..7aa50cd5ba9c 100644
--- a/svl/source/fsstor/fsstorage.cxx
+++ b/svl/source/fsstor/fsstorage.cxx
@@ -255,7 +255,7 @@ uno::Any SAL_CALL FSStorage::queryInterface( const uno::Type& rType )
throw( uno::RuntimeException, std::exception )
{
uno::Any aReturn;
- aReturn <<= ::cppu::queryInterface
+ aReturn = ::cppu::queryInterface
( rType
, static_cast<lang::XTypeProvider*> ( this )
, static_cast<embed::XStorage*> ( this )
diff --git a/svl/source/fsstor/ostreamcontainer.cxx b/svl/source/fsstor/ostreamcontainer.cxx
index 997dd2c33420..9e5d0c501c1d 100644
--- a/svl/source/fsstor/ostreamcontainer.cxx
+++ b/svl/source/fsstor/ostreamcontainer.cxx
@@ -69,7 +69,7 @@ uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
{
uno::Any aReturn;
- aReturn <<= ::cppu::queryInterface
+ aReturn = ::cppu::queryInterface
( rType
, static_cast<lang::XTypeProvider*> ( this )
, static_cast<io::XStream*> ( this )
@@ -81,7 +81,7 @@ uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
if ( m_xSeekable.is() )
{
- aReturn <<= ::cppu::queryInterface
+ aReturn = ::cppu::queryInterface
( rType
, static_cast<io::XSeekable*> ( this ) );
@@ -91,7 +91,7 @@ uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
if ( m_xInputStream.is() )
{
- aReturn <<= ::cppu::queryInterface
+ aReturn = ::cppu::queryInterface
( rType
, static_cast<io::XInputStream*> ( this ) );
@@ -100,7 +100,7 @@ uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
}
if ( m_xOutputStream.is() )
{
- aReturn <<= ::cppu::queryInterface
+ aReturn = ::cppu::queryInterface
( rType
, static_cast<io::XOutputStream*> ( this ) );
@@ -109,7 +109,7 @@ uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
}
if ( m_xTruncate.is() )
{
- aReturn <<= ::cppu::queryInterface
+ aReturn = ::cppu::queryInterface
( rType
, static_cast<io::XTruncate*> ( this ) );
@@ -118,7 +118,7 @@ uno::Any SAL_CALL OFSStreamContainer::queryInterface( const uno::Type& rType )
}
if ( m_xAsyncOutputMonitor.is() )
{
- aReturn <<= ::cppu::queryInterface
+ aReturn = ::cppu::queryInterface
( rType
, static_cast<io::XAsyncOutputMonitor*> ( this ) );