From 7426c9d86974ac7c0d64a669819f555b0e74ba55 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 13 Feb 2014 13:10:40 +0000 Subject: coverity#737157 Uncaught exception Change-Id: I062dbdf7c29489111f7ba6dc37a191d835fa7824 --- forms/source/richtext/specialdispatchers.cxx | 4 +++- forms/source/richtext/specialdispatchers.hxx | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'forms') 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; -- cgit