summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/macab/MacabPreparedStatement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/macab/MacabPreparedStatement.cxx')
-rw-r--r--connectivity/source/drivers/macab/MacabPreparedStatement.cxx2
1 files changed, 1 insertions, 1 deletions
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)