diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 10:42:11 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 10:42:57 +0200 |
commit | 31e24f487e5a4e917bb35fd396cf9f3ad84982a8 (patch) | |
tree | 6e4cbfcd49a8fed02847b8c7719759e09260cf7c /connectivity | |
parent | 3e672693e35e720177eac98094c42570fca9cfbb (diff) |
Remove redundant Reference<> from within UnoType<> uses
Change-Id: I1aeb9c73c284e39f371e49ded98e8dba0d055056
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/commontools/dbtools.cxx | 4 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/StatementCommonBase.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx index 4815a5737e4d..4f5e3950a573 100644 --- a/connectivity/source/commontools/dbtools.cxx +++ b/connectivity/source/commontools/dbtools.cxx @@ -1522,7 +1522,7 @@ bool implUpdateObject(const Reference< XRowUpdate >& _rxUpdatedObject, break; case TypeClass_INTERFACE: - if (_rValue.getValueType() == cppu::UnoType<Reference< XInputStream> >::get()) + if (_rValue.getValueType() == cppu::UnoType<XInputStream>::get()) { Reference< XInputStream > xStream; _rValue >>= xStream; @@ -1629,7 +1629,7 @@ bool implSetObject( const Reference< XParameters >& _rxParameters, break; case TypeClass_INTERFACE: - if (_rValue.getValueType() == cppu::UnoType<Reference< XInputStream> >::get()) + if (_rValue.getValueType() == cppu::UnoType<XInputStream>::get()) { Reference< XInputStream > xStream; _rValue >>= xStream; diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.cxx b/connectivity/source/drivers/firebird/StatementCommonBase.cxx index b642539059b8..6f83c850bad2 100644 --- a/connectivity/source/drivers/firebird/StatementCommonBase.cxx +++ b/connectivity/source/drivers/firebird/StatementCommonBase.cxx @@ -90,9 +90,9 @@ Any SAL_CALL OStatementCommonBase::queryInterface( const Type & rType ) throw(Ru Sequence< Type > SAL_CALL OStatementCommonBase::getTypes( ) throw(RuntimeException, std::exception) { ::cppu::OTypeCollection aTypes( - ::cppu::UnoType< uno::Reference< XMultiPropertySet > >::get(), - ::cppu::UnoType< uno::Reference< XFastPropertySet > >::get(), - ::cppu::UnoType< uno::Reference< XPropertySet > >::get()); + ::cppu::UnoType<XMultiPropertySet>::get(), + ::cppu::UnoType<XFastPropertySet>::get(), + ::cppu::UnoType<XPropertySet>::get()); return concatSequences(aTypes.getTypes(),OStatementCommonBase_Base::getTypes()); } |