summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-31 21:40:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-01 10:40:14 +0100
commite4a1209443fbda58aed07a28cc28612f0b060bae (patch)
tree27609292d0125f54482f2e228cf8743bb64bc1ce /connectivity
parenta6bc2ace5fd7b7c4dc2058c16dc0b94b0561edcd (diff)
coverity#1372387 Uncaught exception
Change-Id: I563e7987d00a68373c05dc4f1f3d62cd3e52de70
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/mork/MResultSet.cxx7
-rw-r--r--connectivity/source/drivers/mork/MResultSet.hxx5
2 files changed, 6 insertions, 6 deletions
diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx
index 339f4c839233..bf99c8f085af 100644
--- a/connectivity/source/drivers/mork/MResultSet.cxx
+++ b/connectivity/source/drivers/mork/MResultSet.cxx
@@ -1105,9 +1105,9 @@ sal_Int32 OResultSet::getRowForCardNumber(sal_Int32 nCardNum)
return 0;
}
-
-void SAL_CALL OResultSet::executeQuery() throw( css::sdbc::SQLException,
- css::uno::RuntimeException)
+void SAL_CALL OResultSet::executeQuery() throw(css::sdbc::SQLException,
+ css::uno::RuntimeException,
+ std::exception)
{
ResultSetEntryGuard aGuard( *this );
@@ -1281,7 +1281,6 @@ void SAL_CALL OResultSet::executeQuery() throw( css::sdbc::SQLException,
}
}
-
void OResultSet::setBoundedColumns(const OValueRow& _rRow,
const ::rtl::Reference<connectivity::OSQLColumns>& _rxColumns,
const Reference<XIndexAccess>& _xNames,
diff --git a/connectivity/source/drivers/mork/MResultSet.hxx b/connectivity/source/drivers/mork/MResultSet.hxx
index 6ccc04ade875..6300cb9fa50c 100644
--- a/connectivity/source/drivers/mork/MResultSet.hxx
+++ b/connectivity/source/drivers/mork/MResultSet.hxx
@@ -275,8 +275,9 @@ protected:
public:
bool determineReadOnly();
// MozAddressbook Specific methods
- void SAL_CALL executeQuery() throw( css::sdbc::SQLException,
- css::uno::RuntimeException);
+ void SAL_CALL executeQuery() throw(css::sdbc::SQLException,
+ css::uno::RuntimeException,
+ std::exception);
void setTable(OTable* _rTable);