From 7d7b289da49ccd7979f650222bfb669cd6b623de Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 2 Oct 2014 08:40:50 +0200 Subject: loplugin: cstylecast Change-Id: I114924d5e0407883b2e77016da3c2e3e55657b21 --- connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 2 +- connectivity/source/drivers/firebird/Statement.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity/source/drivers/firebird') 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) -- cgit