Kaydet (Commit) 31a1eb48 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#706372 Uncaught exception

Change-Id: If3b3395bbe44720540e9619bba6088c6cd29ed37
üst 5fb8f03b
......@@ -256,9 +256,7 @@ SQLLEN OStatement_Base::getRowCount()
// If the given SQL statement contains a 'FOR UPDATE' clause, change
// the concurrency to lock so that the row can then be updated. Returns
// true if the concurrency has been changed
bool OStatement_Base::lockIfNecessary (const OUString& sql) throw( SQLException)
bool OStatement_Base::lockIfNecessary (const OUString& sql) throw (SQLException, RuntimeException)
{
bool rc = false;
......
......@@ -107,7 +107,7 @@ namespace connectivity
void clearMyResultSet() throw (css::sdbc::SQLException, css::uno::RuntimeException);
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);
bool lockIfNecessary (const OUString& sql) throw (css::sdbc::SQLException, css::uno::RuntimeException);
sal_Int32 getColumnCount() throw (css::sdbc::SQLException, css::uno::RuntimeException);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment