From e830cde3e7f8d9f5a7bf5703e654811001937a6c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 27 Jun 2015 20:37:07 +0100 Subject: coverity#1308492 Uncaught exception Change-Id: I80543ac6f26c4d078e9dd1ef384b03c54121239c --- sw/inc/unostyle.hxx | 2 +- sw/source/core/unocore/unostyle.cxx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx index 136c7da5daa2..d252a6984712 100644 --- a/sw/inc/unostyle.hxx +++ b/sw/inc/unostyle.hxx @@ -305,7 +305,7 @@ protected: ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception); - ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL GetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > SAL_CALL GetPropertyValues_Impl( const ::com::sun::star::uno::Sequence< OUString >& aPropertyNames ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception); public: SwXPageStyle(SfxStyleSheetBasePool& rPool, SwDocShell* pDocSh, SfxStyleFamily eFam, diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx index 31cc98141bfb..b43c4f7819d2 100644 --- a/sw/source/core/unocore/unostyle.cxx +++ b/sw/source/core/unocore/unostyle.cxx @@ -3685,7 +3685,8 @@ lcl_makeHeaderFooter( uno::Sequence< uno::Any > SAL_CALL SwXPageStyle::GetPropertyValues_Impl( const uno::Sequence< OUString >& rPropertyNames ) - throw( beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException ) + throw( beans::UnknownPropertyException, lang::WrappedTargetException, + uno::RuntimeException, std::exception ) { if(!GetDoc()) throw uno::RuntimeException(); -- cgit