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 /package | |
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 'package')
-rw-r--r-- | package/source/xstor/ocompinstream.cxx | 4 | ||||
-rw-r--r-- | package/source/xstor/owriteablestream.cxx | 8 | ||||
-rw-r--r-- | package/source/xstor/xstorage.cxx | 10 |
3 files changed, 11 insertions, 11 deletions
diff --git a/package/source/xstor/ocompinstream.cxx b/package/source/xstor/ocompinstream.cxx index 24318b1b0c3e..c94d16c277b9 100644 --- a/package/source/xstor/ocompinstream.cxx +++ b/package/source/xstor/ocompinstream.cxx @@ -80,7 +80,7 @@ uno::Any SAL_CALL OInputCompStream::queryInterface( const uno::Type& rType ) uno::Any aReturn; // common interfaces - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<io::XInputStream*> ( this ) , static_cast<io::XStream*> ( this ) @@ -93,7 +93,7 @@ uno::Any SAL_CALL OInputCompStream::queryInterface( const uno::Type& rType ) if ( m_nStorageType == embed::StorageFormats::OFOPXML ) { - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<embed::XRelationshipAccess*> ( this ) ); diff --git a/package/source/xstor/owriteablestream.cxx b/package/source/xstor/owriteablestream.cxx index 7e600238c3bd..8506f7e352a7 100644 --- a/package/source/xstor/owriteablestream.cxx +++ b/package/source/xstor/owriteablestream.cxx @@ -1866,7 +1866,7 @@ uno::Any SAL_CALL OWriteStream::queryInterface( const uno::Type& rType ) uno::Any aReturn; // common interfaces - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<lang::XTypeProvider*> ( this ) , static_cast<io::XInputStream*> ( this ) @@ -1883,14 +1883,14 @@ uno::Any SAL_CALL OWriteStream::queryInterface( const uno::Type& rType ) if ( m_pData->m_nStorageType == embed::StorageFormats::PACKAGE ) { - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<embed::XEncryptionProtectedSource2*> ( this ) , static_cast<embed::XEncryptionProtectedSource*> ( this ) ); } else if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML ) { - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<embed::XRelationshipAccess*> ( this ) ); } @@ -1900,7 +1900,7 @@ uno::Any SAL_CALL OWriteStream::queryInterface( const uno::Type& rType ) if ( m_bTransacted ) { - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<embed::XTransactedObject*> ( this ) , static_cast<embed::XTransactionBroadcaster*> ( this ) ); diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx index f11843ed8b7a..29155de03ebb 100644 --- a/package/source/xstor/xstorage.cxx +++ b/package/source/xstor/xstorage.cxx @@ -2161,7 +2161,7 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType ) uno::Any aReturn; // common interfaces - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<lang::XTypeProvider*> ( this ) , static_cast<embed::XStorage*> ( this ) @@ -2178,7 +2178,7 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType ) if ( aReturn.hasValue() ) return aReturn ; - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<embed::XHierarchicalStorageAccess*> ( this ) , static_cast<embed::XHierarchicalStorageAccess2*> ( this ) ); @@ -2190,7 +2190,7 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType ) { if ( m_pData->m_bIsRoot ) { - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<embed::XStorageRawAccess*> ( this ) , static_cast<embed::XEncryptionProtectedSource*> ( this ) @@ -2199,14 +2199,14 @@ uno::Any SAL_CALL OStorage::queryInterface( const uno::Type& rType ) } else { - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<embed::XStorageRawAccess*> ( this ) ); } } else if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML ) { - aReturn <<= ::cppu::queryInterface + aReturn = ::cppu::queryInterface ( rType , static_cast<embed::XRelationshipAccess*> ( this ) ); } |