diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-04 08:53:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-04 10:52:41 +0200 |
commit | 7aa7f4d9e4294959748bccf9e763154740251635 (patch) | |
tree | 79fc3855ce0cc1141abdda514df374cd42ab259c /ucbhelper/source/provider/resultset.cxx | |
parent | 6f511a5de909b2fb6cb42b851e0cc90f54fbdd59 (diff) |
loplugin:unnecessaryparen include c++ casts
Change-Id: I132d3c66f0562e2c37a02eaf4c168d06c2b473eb
Reviewed-on: https://gerrit.libreoffice.org/41874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper/source/provider/resultset.cxx')
-rw-r--r-- | ucbhelper/source/provider/resultset.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ucbhelper/source/provider/resultset.cxx b/ucbhelper/source/provider/resultset.cxx index 9a8f7bb1bfd8..522748442c02 100644 --- a/ucbhelper/source/provider/resultset.cxx +++ b/ucbhelper/source/provider/resultset.cxx @@ -233,15 +233,15 @@ void SAL_CALL ResultSet::release() css::uno::Any SAL_CALL ResultSet::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< lang::XServiceInfo* >(this)), - (static_cast< lang::XComponent* >(this)), - (static_cast< css::ucb::XContentAccess* >(this)), - (static_cast< sdbc::XResultSet* >(this)), - (static_cast< sdbc::XResultSetMetaDataSupplier* >(this)), - (static_cast< sdbc::XRow* >(this)), - (static_cast< sdbc::XCloseable* >(this)), - (static_cast< beans::XPropertySet* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< lang::XServiceInfo* >(this), + static_cast< lang::XComponent* >(this), + static_cast< css::ucb::XContentAccess* >(this), + static_cast< sdbc::XResultSet* >(this), + static_cast< sdbc::XResultSetMetaDataSupplier* >(this), + static_cast< sdbc::XRow* >(this), + static_cast< sdbc::XCloseable* >(this), + static_cast< beans::XPropertySet* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } @@ -1491,8 +1491,8 @@ css::uno::Any SAL_CALL PropertySetInfo::queryInterface( const css::uno::Type & rType ) { css::uno::Any aRet = cppu::queryInterface( rType, - (static_cast< lang::XTypeProvider* >(this)), - (static_cast< beans::XPropertySetInfo* >(this)) + static_cast< lang::XTypeProvider* >(this), + static_cast< beans::XPropertySetInfo* >(this) ); return aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ); } |