summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-06-27 17:23:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-06-27 18:25:03 +0100
commit8b0319bb3498cdd7b07fb785c76b70bd4c80a511 (patch)
treebda41b6dcd8485ad04fad62015acd0b93ba7edfc
parente5e37b2b930644051cc1253e0ee71e3ffe5b3cf8 (diff)
coverity#1308460 Uncaught exception
Change-Id: Idb239c4bcfa9cd593977425555702cf746272dd2
-rw-r--r--include/svx/gridctrl.hxx2
-rw-r--r--svx/source/fmcomp/gridctrl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index a672738596ed..31dd27089b75 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -347,7 +347,7 @@ protected:
*/
virtual void PostExecuteRowContextMenu(sal_uInt16 nRow, const PopupMenu& rMenu, sal_uInt16 nExecutionResult);
- void DataSourcePropertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException);
+ void DataSourcePropertyChanged(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException, std::exception);
void FieldValueChanged(sal_uInt16 _nId, const ::com::sun::star::beans::PropertyChangeEvent& _evt);
void FieldListenerDisposing(sal_uInt16 _nId);
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 04d474635cf5..25fbc8e6841a 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -2692,7 +2692,7 @@ void DbGridControl::PostExecuteRowContextMenu(sal_uInt16 /*nRow*/, const PopupMe
}
}
-void DbGridControl::DataSourcePropertyChanged(const PropertyChangeEvent& evt) throw( RuntimeException )
+void DbGridControl::DataSourcePropertyChanged(const PropertyChangeEvent& evt) throw( RuntimeException, std::exception )
{
SAL_INFO("svx.fmcomp", "DbGridControl::DataSourcePropertyChanged");
SolarMutexGuard aGuard;