From e337d2e11dc63568916b25ca996cbf629f60300d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 25 Feb 2014 13:17:42 +0000 Subject: coverity#738292 Uncaught exception Change-Id: If0c755489ee319c255d5ac0cd1294ce6a2b0b88f --- sw/inc/unotbl.hxx | 8 +++++++- sw/source/core/unocore/unotbl.cxx | 14 +++++++------- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'sw') diff --git a/sw/inc/unotbl.hxx b/sw/inc/unotbl.hxx index eb014e0313bd..7d57e28f9970 100644 --- a/sw/inc/unotbl.hxx +++ b/sw/inc/unotbl.hxx @@ -247,7 +247,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 147d9429680f..c914e9daa711 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -1813,13 +1813,13 @@ uno::Reference< beans::XPropertySetInfo > SwXTextTableCursor::getPropertySetInf return xRef; } -void SwXTextTableCursor::setPropertyValue(const OUString& rPropertyName, - const uno::Any& aValue) - throw( beans::UnknownPropertyException, - beans::PropertyVetoException, - lang::IllegalArgumentException, - lang::WrappedTargetException, - uno::RuntimeException) +void SwXTextTableCursor::setPropertyValue(const OUString& rPropertyName, const uno::Any& aValue) + throw (beans::UnknownPropertyException, + beans::PropertyVetoException, + lang::IllegalArgumentException, + lang::WrappedTargetException, + uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; SwUnoCrsr* pUnoCrsr = GetCrsr(); -- cgit