summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-02 09:24:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-02 09:46:31 +0100
commit287ad2adeb288ecff47fdae63dab3ee04eb7bd1c (patch)
tree05da2071c629a51fccb595e078d83c13944a885b
parent045598331adb3b1a4f20dca992a09b7472e7362f (diff)
coverity#706308 Uncaught exception
Change-Id: I852e701bd62929c1a7303b86286b8cbe66cdfc1f
-rw-r--r--connectivity/source/drivers/file/FResultSet.cxx3
-rw-r--r--connectivity/source/inc/file/FResultSet.hxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/connectivity/source/drivers/file/FResultSet.cxx b/connectivity/source/drivers/file/FResultSet.cxx
index 832dddc2c959..14fa3318e06e 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -208,7 +208,8 @@ sal_Int32 SAL_CALL OResultSet::findColumn( const OUString& columnName ) throw(SQ
return 0; // Never reached
}
-const ORowSetValue& OResultSet::getValue(sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException)
+const ORowSetValue& OResultSet::getValue(sal_Int32 columnIndex)
+ throw (css::sdbc::SQLException, css::uno::RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
diff --git a/connectivity/source/inc/file/FResultSet.hxx b/connectivity/source/inc/file/FResultSet.hxx
index 6fcf9fc94037..36a671137050 100644
--- a/connectivity/source/inc/file/FResultSet.hxx
+++ b/connectivity/source/inc/file/FResultSet.hxx
@@ -148,7 +148,8 @@ namespace connectivity
inline bool isCount() const { return m_bIsCount; }
void checkIndex(sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException);
- const ORowSetValue& getValue(sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException);
+ const ORowSetValue& getValue(sal_Int32 columnIndex)
+ throw (css::sdbc::SQLException, css::uno::RuntimeException);
void updateValue(sal_Int32 columnIndex,const ORowSetValue& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
// clear insert row
void clearInsertRow();