From 5a1218aa91f49b06f55c85fbaddc3e8123f92ee8 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 13 Feb 2014 13:49:47 +0000 Subject: coverity#738252 Uncaught exception Change-Id: I9529a1d48c9c708ded67f83eb4d7777086618cb6 --- sw/inc/unotbl.hxx | 8 +++++++- sw/source/core/unocore/unotbl.cxx | 11 +++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index 90877af8ee22..c0b540a04a77 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -449,7 +449,13 @@ public: //XPropertySet virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setPropertyValue(const OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue) + throw (::com::sun::star::beans::UnknownPropertyException, + ::com::sun::star::beans::PropertyVetoException, + ::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::lang::WrappedTargetException, + ::com::sun::star::uno::RuntimeException, + std::exception); virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(const OUString& PropertyName) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 096dd499fca8..aff5f590e833 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -3890,10 +3890,13 @@ uno::Reference< beans::XPropertySetInfo > SwXCellRange::getPropertySetInfo(void return xRef; } -void SwXCellRange::setPropertyValue(const OUString& rPropertyName, - const uno::Any& aValue) throw( beans::UnknownPropertyException, - beans::PropertyVetoException, lang::IllegalArgumentException, - lang::WrappedTargetException, uno::RuntimeException ) +void SwXCellRange::setPropertyValue(const OUString& rPropertyName, const uno::Any& aValue) + throw (beans::UnknownPropertyException, + beans::PropertyVetoException, + lang::IllegalArgumentException, + lang::WrappedTargetException, + uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; SwFrmFmt* pFmt = GetFrmFmt(); -- cgit v1.2.3