diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-02 08:40:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-03 15:20:03 +0200 |
commit | 7d7b289da49ccd7979f650222bfb669cd6b623de (patch) | |
tree | 4a6f6d2608214e513984926142200f9bc26c26c9 /connectivity/source/drivers/firebird | |
parent | 11d22e164ec5e62e067a38ce11929b157381d1b7 (diff) |
loplugin: cstylecast
Change-Id: I114924d5e0407883b2e77016da3c2e3e55657b21
Diffstat (limited to 'connectivity/source/drivers/firebird')
-rw-r--r-- | connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/firebird/Statement.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx index bff558ce3e50..52a96ef6ba0c 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx @@ -832,7 +832,7 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates() uno::Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection() throw(SQLException, RuntimeException, std::exception) { - return (uno::Reference< XConnection >) m_pConnection; + return uno::Reference< XConnection >(m_pConnection); } // here follow all methods which return a resultset diff --git a/connectivity/source/drivers/firebird/Statement.cxx b/connectivity/source/drivers/firebird/Statement.cxx index 94b947409245..42478941dc1f 100644 --- a/connectivity/source/drivers/firebird/Statement.cxx +++ b/connectivity/source/drivers/firebird/Statement.cxx @@ -162,7 +162,7 @@ uno::Reference< XConnection > SAL_CALL OStatement::getConnection() MutexGuard aGuard(m_aMutex); checkDisposed(OStatementCommonBase_Base::rBHelper.bDisposed); - return (uno::Reference< XConnection >)m_pConnection; + return uno::Reference< XConnection >(m_pConnection); } Any SAL_CALL OStatement::queryInterface( const Type & rType ) throw(RuntimeException, std::exception) |