coverity#1213468 Uncaught exception

Change-Id: I451b13be6b72925e4cfa0e66c5690eca22c54dad
This commit is contained in:
Caolán McNamara 2014-06-10 14:55:09 +01:00
parent 6542cffd0b
commit 88cf5c115d
2 changed files with 4 additions and 2 deletions

View file

@ -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);

View file

@ -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)
*/