diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 13:17:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-25 14:27:42 +0000 |
commit | e337d2e11dc63568916b25ca996cbf629f60300d (patch) | |
tree | aac6c5568595c12011aff543795b8c6ded8b6fe7 /sw | |
parent | 7338669f05957d99f5a5e1a2af951aae5b4a409a (diff) |
coverity#738292 Uncaught exception
Change-Id: If0c755489ee319c255d5ac0cd1294ce6a2b0b88f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/unotbl.hxx | 8 | ||||
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 14 |
2 files changed, 14 insertions, 8 deletions
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(); |