diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 10:22:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-12 13:03:56 +0000 |
commit | be1fd3b6ac097e6360561f91947e2a0f15900d85 (patch) | |
tree | 0a21f77e1eca4a897812754e38f1b923345f7e00 /sw | |
parent | 4cafc422990a61686470308270a3f88606d55a7b (diff) |
coverity#738381 Uncaught exception
Change-Id: Ie94bd97976f98cad5f21c96ef7344d4e66983fcc
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/inc/unotxvw.hxx | 3 | ||||
-rw-r--r-- | sw/source/ui/uno/unotxvw.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
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; |