summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/odbc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-10 11:45:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-10 13:39:15 +0100
commit31a1eb48247e2e0f79c8ba34058eed04e04af336 (patch)
treead7528b638bb5ccf95ba133a0df874a9126886aa /connectivity/source/drivers/odbc
parent5fb8f03be61add8320045471edc55ce3f7c4fa8d (diff)
coverity#706372 Uncaught exception
Change-Id: If3b3395bbe44720540e9619bba6088c6cd29ed37
Diffstat (limited to 'connectivity/source/drivers/odbc')
-rw-r--r--connectivity/source/drivers/odbc/OStatement.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx
index 2855ddfba369..48703371c777 100644
--- a/connectivity/source/drivers/odbc/OStatement.cxx
+++ b/connectivity/source/drivers/odbc/OStatement.cxx
@@ -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;