diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 15:54:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 16:12:23 +0000 |
commit | 6fbe00f9b6ae8211bc6f2a0e78120548d7b38432 (patch) | |
tree | 96fdf9388669463d8fec3d01c3a9545729c2a3ac /sd | |
parent | 5da1ef56f7b88e360010c981ab12a60720ac46e5 (diff) |
coverity#983702 Uncaught exception
Change-Id: I3a0b4c8fe4208d0945860f6b4e1b31852aef8502
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unomodule.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unomodule.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unomodule.cxx b/sd/source/ui/unoidl/unomodule.cxx index 23518f444cc3..eef013d3a160 100644 --- a/sd/source/ui/unoidl/unomodule.cxx +++ b/sd/source/ui/unoidl/unomodule.cxx @@ -52,7 +52,8 @@ uno::Reference< uno::XInterface > SAL_CALL SdUnoModule_createInstance( } // XNotifyingDispatch -void SAL_CALL SdUnoModule::dispatchWithNotification( const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs, const uno::Reference< frame::XDispatchResultListener >& xListener ) throw (uno::RuntimeException) +void SAL_CALL SdUnoModule::dispatchWithNotification( const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& aArgs, const uno::Reference< frame::XDispatchResultListener >& xListener ) + throw (uno::RuntimeException, std::exception) { // there is no guarantee, that we are holded alive during this method! // May the outside dispatch container will be updated by a CONTEXT_CHANGED diff --git a/sd/source/ui/unoidl/unomodule.hxx b/sd/source/ui/unoidl/unomodule.hxx index 206da27853ae..01a28af2abde 100644 --- a/sd/source/ui/unoidl/unomodule.hxx +++ b/sd/source/ui/unoidl/unomodule.hxx @@ -58,7 +58,8 @@ public: {} // XnotifyingDispatch - virtual void SAL_CALL dispatchWithNotification( const css::util::URL& URL, const css::uno::Sequence< css::beans::PropertyValue >& Arguments, const css::uno::Reference< css::frame::XDispatchResultListener >& Listener ) throw (css::uno::RuntimeException); + virtual void SAL_CALL dispatchWithNotification( const css::util::URL& URL, const css::uno::Sequence< css::beans::PropertyValue >& Arguments, const css::uno::Reference< css::frame::XDispatchResultListener >& Listener ) + throw (css::uno::RuntimeException, std::exception); // XDispatch virtual void SAL_CALL dispatch( const css::util::URL& aURL, const css::uno::Sequence< css::beans::PropertyValue >& aArgs ) throw( css::uno::RuntimeException ); |