From be1fd3b6ac097e6360561f91947e2a0f15900d85 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 12 Feb 2014 10:22:40 +0000 Subject: coverity#738381 Uncaught exception Change-Id: Ie94bd97976f98cad5f21c96ef7344d4e66983fcc --- sw/source/ui/inc/unotxvw.hxx | 3 ++- sw/source/ui/uno/unotxvw.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/ui/inc/unotxvw.hxx b/sw/source/ui/inc/unotxvw.hxx index 79e8dd17056b..2d39a055d132 100644 --- a/sw/source/ui/inc/unotxvw.hxx +++ b/sw/source/ui/inc/unotxvw.hxx @@ -115,7 +115,8 @@ public: virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > > SAL_CALL getRubyList( sal_Bool bAutomatic ) - throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL setRubyList( const ::com::sun::star::uno::Sequence< diff --git a/sw/source/ui/uno/unotxvw.cxx b/sw/source/ui/uno/unotxvw.cxx index ed021bd65772..9ff702756126 100644 --- a/sw/source/ui/uno/unotxvw.cxx +++ b/sw/source/ui/uno/unotxvw.cxx @@ -537,7 +537,8 @@ uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings(void) throw( return *pxViewSettings; } -Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAutomatic*/ ) throw(RuntimeException) +Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAutomatic*/ ) + throw (RuntimeException, std::exception) { SolarMutexGuard aGuard; -- cgit