diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 15:53:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:23 +0000 |
commit | 5da1ef56f7b88e360010c981ab12a60720ac46e5 (patch) | |
tree | 673ee623fd7c023d0c07db2bed60168122535513 /reportdesign | |
parent | 12f08b699d76821e40d2e8672973239098647c72 (diff) |
coverity#983700 Uncaught exception
Change-Id: Iee09cbebf1fa6f0c0af8dddfd5f8fdbb7cd63df7
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/dlg/Navigator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/reportdesign/source/ui/dlg/Navigator.cxx b/reportdesign/source/ui/dlg/Navigator.cxx index b551087dcc03..c949185326f5 100644 --- a/reportdesign/source/ui/dlg/Navigator.cxx +++ b/reportdesign/source/ui/dlg/Navigator.cxx @@ -135,7 +135,8 @@ class NavigatorTree : public ::cppu::BaseMutex virtual void _elementInserted( const container::ContainerEvent& _rEvent ) throw(uno::RuntimeException); virtual void _elementRemoved( const container::ContainerEvent& _Event ) throw(uno::RuntimeException); virtual void _elementReplaced( const container::ContainerEvent& _rEvent ) throw(uno::RuntimeException); - virtual void _disposing(const lang::EventObject& _rSource) throw( uno::RuntimeException); + virtual void _disposing(const lang::EventObject& _rSource) + throw (uno::RuntimeException, std::exception); }; enum DROP_ACTION { DA_SCROLLUP, DA_SCROLLDOWN, DA_EXPANDNODE }; @@ -728,7 +729,8 @@ void NavigatorTree::_elementReplaced( const container::ContainerEvent& _rEvent ) } } -void NavigatorTree::_disposing(const lang::EventObject& _rSource)throw( uno::RuntimeException) +void NavigatorTree::_disposing(const lang::EventObject& _rSource) + throw (uno::RuntimeException, std::exception) { removeEntry(find(_rSource.Source)); } |