diff options
-rw-r--r-- | connectivity/source/drivers/odbc/OStatement.cxx | 5 | ||||
-rw-r--r-- | connectivity/source/inc/odbc/OStatement.hxx | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx index 3e1f82997bf7..1398efa2ba92 100644 --- a/connectivity/source/drivers/odbc/OStatement.cxx +++ b/connectivity/source/drivers/odbc/OStatement.cxx @@ -310,9 +310,8 @@ void OStatement_Base::setWarning (const SQLWarning &ex) // getColumnCount // Return the number of columns in the ResultSet - - -sal_Int32 OStatement_Base::getColumnCount () throw( SQLException) +sal_Int32 OStatement_Base::getColumnCount() + throw (SQLException, 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 3270e660771c..8cfc7601bf40 100644 --- a/connectivity/source/inc/odbc/OStatement.hxx +++ b/connectivity/source/inc/odbc/OStatement.hxx @@ -108,7 +108,7 @@ namespace connectivity void setWarning (const ::com::sun::star::sdbc::SQLWarning &ex) throw (css::sdbc::SQLException, css::uno::RuntimeException); bool lockIfNecessary (const OUString& sql) throw( ::com::sun::star::sdbc::SQLException); - sal_Int32 getColumnCount () throw( ::com::sun::star::sdbc::SQLException); + sal_Int32 getColumnCount() throw (css::sdbc::SQLException, css::uno::RuntimeException); // getResultSet |