diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 13:10:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:21 +0000 |
commit | 7426c9d86974ac7c0d64a669819f555b0e74ba55 (patch) | |
tree | 2009bf73f0924e87333e438e0ec1c7561b6649bc /forms | |
parent | 2d72cfb5027bdab62ca4b509dd4aa1397bf56bf0 (diff) |
coverity#737157 Uncaught exception
Change-Id: I062dbdf7c29489111f7ba6dc37a191d835fa7824
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/specialdispatchers.cxx | 4 | ||||
-rw-r--r-- | forms/source/richtext/specialdispatchers.hxx | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/forms/source/richtext/specialdispatchers.cxx b/forms/source/richtext/specialdispatchers.cxx index f39ecc82b40b..0fa4212e3e3e 100644 --- a/forms/source/richtext/specialdispatchers.cxx +++ b/forms/source/richtext/specialdispatchers.cxx @@ -54,7 +54,9 @@ namespace frm } //-------------------------------------------------------------------- - void SAL_CALL OSelectAllDispatcher::dispatch( const URL& _rURL, const Sequence< PropertyValue >& /*_rArguments*/ ) throw (RuntimeException) + void SAL_CALL OSelectAllDispatcher::dispatch( const URL& _rURL, const Sequence< PropertyValue >& /*_rArguments*/ ) + throw (RuntimeException, + std::exception) { ::osl::MutexGuard aGuard( m_aMutex ); OSL_ENSURE( _rURL.Complete == getFeatureURL().Complete, "OSelectAllDispatcher::dispatch: invalid URL!" ); diff --git a/forms/source/richtext/specialdispatchers.hxx b/forms/source/richtext/specialdispatchers.hxx index ee7ab25a9fa6..37c823abe4f3 100644 --- a/forms/source/richtext/specialdispatchers.hxx +++ b/forms/source/richtext/specialdispatchers.hxx @@ -39,7 +39,9 @@ namespace frm ~OSelectAllDispatcher(); // XDispatch - virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) + throw (::com::sun::star::uno::RuntimeException, + std::exception); // ORichTextFeatureDispatcher virtual ::com::sun::star::frame::FeatureStateEvent buildStatusEvent() const; |