diff options
-rw-r--r-- | mysqlc/source/mysqlc_preparedstatement.cxx | 18 | ||||
-rw-r--r-- | mysqlc/source/mysqlc_preparedstatement.hxx | 9 |
2 files changed, 3 insertions, 24 deletions
diff --git a/mysqlc/source/mysqlc_preparedstatement.cxx b/mysqlc/source/mysqlc_preparedstatement.cxx index 5bd8a7e4bce7..df384d81a2f8 100644 --- a/mysqlc/source/mysqlc_preparedstatement.cxx +++ b/mysqlc/source/mysqlc_preparedstatement.cxx @@ -229,24 +229,6 @@ Reference< XConnection > SAL_CALL OPreparedStatement::getConnection() return m_pConnection; } -Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery(const rtl::OUString& sql) - throw(SQLException, RuntimeException, std::exception) -{ - return OCommonStatement::executeQuery( sql ); -} - -sal_Int32 SAL_CALL OPreparedStatement::executeUpdate(const rtl::OUString& sql) - throw(SQLException, RuntimeException, std::exception) -{ - return OCommonStatement::executeUpdate( sql ); -} - -sal_Bool SAL_CALL OPreparedStatement::execute( const rtl::OUString& sql ) - throw(SQLException, RuntimeException, std::exception) -{ - return OCommonStatement::execute( sql ); -} - Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery() throw(SQLException, RuntimeException, std::exception) { diff --git a/mysqlc/source/mysqlc_preparedstatement.hxx b/mysqlc/source/mysqlc_preparedstatement.hxx index d5c657dae9d8..511e89e88b06 100644 --- a/mysqlc/source/mysqlc_preparedstatement.hxx +++ b/mysqlc/source/mysqlc_preparedstatement.hxx @@ -90,12 +90,9 @@ namespace connectivity Reference< css::sdbc::XConnection > SAL_CALL getConnection() throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; // XStatement - css::uno::Reference< css::sdbc::XResultSet > SAL_CALL executeQuery(const rtl::OUString& sql) - throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - sal_Int32 SAL_CALL executeUpdate(const rtl::OUString& sql) - throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; - sal_Bool SAL_CALL execute( const rtl::OUString& sql ) - throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; + using OCommonStatement::executeQuery; + using OCommonStatement::executeUpdate; + using OCommonStatement::execute; // XParameters void SAL_CALL setNull(sal_Int32 parameter, sal_Int32 sqlType) throw(SQLException, RuntimeException, std::exception) SAL_OVERRIDE; |