summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-04 09:01:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-04 09:01:58 +0100
commit6bceec845fe0053026fb248d4c0de72d3a97300f (patch)
tree373bc97562e46acee85dca6b67da21877e8ac868 /connectivity
parentbc9b4e6d37936533af07c88e6907aebae674e6a1 (diff)
connectivity (Mac): loplugin:cstylecast
Change-Id: Icb680130bf5123029fa3880c8f9865a2b71facfd
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx2
-rw-r--r--connectivity/source/drivers/macab/MacabPreparedStatement.cxx2
-rw-r--r--connectivity/source/drivers/macab/MacabStatement.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx b/connectivity/source/drivers/macab/MacabDatabaseMetaData.cxx
index 636bcc18c523..499626a323dd 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 cdcb8f10ffe4..edeec20f1eca 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 daa5d07654a0..f807b5b4fa23 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)