diff options
-rw-r--r-- | connectivity/source/drivers/odbc/OStatement.cxx | 3 | ||||
-rw-r--r-- | connectivity/source/inc/odbc/OStatement.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx index bb143549bee0..246c057e519a 100644 --- a/connectivity/source/drivers/odbc/OStatement.cxx +++ b/connectivity/source/drivers/odbc/OStatement.cxx @@ -380,7 +380,8 @@ sal_Bool SAL_CALL OStatement_Base::execute( const OUString& sql ) throw(SQLExcep // getResultSet returns the current result as a ResultSet. It // returns NULL if the current result is not a ResultSet. -Reference< XResultSet > OStatement_Base::getResultSet (bool checkCount) throw( SQLException) +Reference< XResultSet > OStatement_Base::getResultSet(bool checkCount) + throw (SQLException, css::uno::RuntimeException) { ::osl::MutexGuard aGuard( m_aMutex ); checkDisposed(OStatement_BASE::rBHelper.bDisposed); diff --git a/connectivity/source/inc/odbc/OStatement.hxx b/connectivity/source/inc/odbc/OStatement.hxx index c0387806c915..5299382b748b 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -114,7 +114,8 @@ namespace connectivity // getResultSet returns the current result as a ResultSet. It // returns NULL if the current result is not a ResultSet. - ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > getResultSet (bool checkCount) throw( ::com::sun::star::sdbc::SQLException); + css::uno::Reference<css::sdbc::XResultSet> getResultSet(bool checkCount) + throw (css::sdbc::SQLException, css::uno::RuntimeException); /** creates the driver specific resultset (factory) */ |