diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-31 21:45:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-09-01 10:40:14 +0100 |
commit | ec2aa9c5ba7a6ccd1f71c26cd78af11007ad5baa (patch) | |
tree | e701f793a1403e4b09f6fa87900c3ddf3eebba59 /connectivity/source/drivers | |
parent | 99542f5744b8feaec0c44081029cdedd93a77639 (diff) |
coverity#1372390 Uncaught exception
Change-Id: I4bb01b0bb9865986d9da8ed294a46fa7a4488458
Diffstat (limited to 'connectivity/source/drivers')
-rw-r--r-- | connectivity/source/drivers/file/FPreparedStatement.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/file/FStatement.cxx | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/drivers/file/FPreparedStatement.cxx b/connectivity/source/drivers/file/FPreparedStatement.cxx index 20bb0ee0ddef..c59496af98f2 100644 --- a/connectivity/source/drivers/file/FPreparedStatement.cxx +++ b/connectivity/source/drivers/file/FPreparedStatement.cxx @@ -75,7 +75,7 @@ void OPreparedStatement::disposing() } } -void OPreparedStatement::construct(const OUString& sql) throw(SQLException, RuntimeException) +void OPreparedStatement::construct(const OUString& sql) throw(SQLException, RuntimeException, std::exception) { OStatement_Base::construct(sql); diff --git a/connectivity/source/drivers/file/FStatement.cxx b/connectivity/source/drivers/file/FStatement.cxx index a4dc41d81f0f..2db04098760f 100644 --- a/connectivity/source/drivers/file/FStatement.cxx +++ b/connectivity/source/drivers/file/FStatement.cxx @@ -374,8 +374,7 @@ void OStatement_Base::setOrderbyColumn( OSQLParseNode* pColumnRef, m_aOrderbyAscending.push_back((SQL_ISTOKEN(pAscendingDescending,DESC)) ? TAscendingOrder::DESC : TAscendingOrder::ASC); } - -void OStatement_Base::construct(const OUString& sql) throw(SQLException, RuntimeException) +void OStatement_Base::construct(const OUString& sql) throw(SQLException, RuntimeException, std::exception) { OUString aErr; m_pParseTree = m_aParser.parseTree(aErr,sql); |