diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-17 09:25:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-17 15:19:44 +0100 |
commit | 331f4663e4c50992f8e5f6a9a310073e041377e3 (patch) | |
tree | ff854c68f79e64576ee177150d81ca4ed01d57d0 /sw | |
parent | 6e417ffe04d5503da4b9fec56f14c46c785d804f (diff) |
coverity#1247631 Uncaught exception
Change-Id: I92e59b18cef0828040c88ffbde150de6bb0d16a5
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/unoframe.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/unoframe.hxx b/sw/inc/unoframe.hxx index d9a012cbe807..f1663a1f699e 100644 --- a/sw/inc/unoframe.hxx +++ b/sw/inc/unoframe.hxx @@ -138,7 +138,7 @@ public: virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - void attachToRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange)throw( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException ); + void attachToRange(const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange > & xTextRange)throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception); void attach( const ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextRange >& xTextRange ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); const SwFrmFmt* GetFrmFmt() const diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 93271c04a2ce..d2b6d5a6eb07 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -2680,7 +2680,7 @@ void SwXFrame::ResetDescriptor() } void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRange) - throw( lang::IllegalArgumentException, uno::RuntimeException ) + throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if(!IsDescriptor()) |