[Libreoffice-commits] core.git: connectivity/source
Stephan Bergmann
sbergman at redhat.com
Thu Dec 4 00:02:31 PST 2014
connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx | 2 +-
connectivity/source/drivers/macab/MacabPreparedStatement.cxx | 2 +-
connectivity/source/drivers/macab/MacabStatement.cxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 6bceec845fe0053026fb248d4c0de72d3a97300f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Dec 4 09:01:58 2014 +0100
connectivity (Mac): loplugin:cstylecast
Change-Id: Icb680130bf5123029fa3880c8f9865a2b71facfd
diff --git a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
index 636bcc1..499626a 100644
--- a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
+++ b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
@@ -769,7 +769,7 @@ sal_Bool SAL_CALL MacabDatabaseMetaData::supportsBatchUpdates( ) throw(SQLExcep
Reference< XConnection > SAL_CALL MacabDatabaseMetaData::getConnection( ) throw(SQLException, RuntimeException)
{
- return (Reference< XConnection >) m_xConnection.get();
+ return m_xConnection.get();
}
Reference< XResultSet > SAL_CALL MacabDatabaseMetaData::getTableTypes( ) throw(SQLException, RuntimeException)
diff --git a/connectivity/source/drivers/macab/MacabPreparedStatement.cxx b/connectivity/source/drivers/macab/MacabPreparedStatement.cxx
index cdcb8f1..edeec20 100644
--- a/connectivity/source/drivers/macab/MacabPreparedStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabPreparedStatement.cxx
@@ -177,7 +177,7 @@ Reference< XConnection > SAL_CALL MacabPreparedStatement::getConnection() throw(
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(MacabCommonStatement_BASE::rBHelper.bDisposed);
- return (Reference< XConnection >) m_pConnection;
+ return m_pConnection;
}
Reference< XResultSet > SAL_CALL MacabPreparedStatement::executeQuery() throw(SQLException, RuntimeException)
diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx
index daa5d07..f807b5b 100644
--- a/connectivity/source/drivers/macab/MacabStatement.cxx
+++ b/connectivity/source/drivers/macab/MacabStatement.cxx
@@ -472,7 +472,7 @@ Reference< XConnection > SAL_CALL MacabCommonStatement::getConnection( ) throw(
checkDisposed(MacabCommonStatement_BASE::rBHelper.bDisposed);
// just return our connection here
- return (Reference< XConnection >) m_pConnection;
+ return m_pConnection;
}
sal_Int32 SAL_CALL MacabCommonStatement::executeUpdate( const OUString& ) throw(SQLException, RuntimeException)
More information about the Libreoffice-commits
mailing list