From 8b0319bb3498cdd7b07fb785c76b70bd4c80a511 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 27 Jun 2015 17:23:41 +0100 Subject: coverity#1308460 Uncaught exception Change-Id: Idb239c4bcfa9cd593977425555702cf746272dd2 --- include/svx/gridctrl.hxx | 2 +- svx/source/fmcomp/gridctrl.cxx | 2 +- 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; -- cgit