diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 13:49:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 14:56:23 +0000 |
commit | 5a1218aa91f49b06f55c85fbaddc3e8123f92ee8 (patch) | |
tree | dce4a011d41c459099e2db7e22a501d7a074a47f | |
parent | b1c709911679e915504e87fe33ecd7b9fbac12fb (diff) |
coverity#738252 Uncaught exception
Change-Id: I9529a1d48c9c708ded67f83eb4d7777086618cb6
-rw-r--r-- | sw/inc/unotbl.hxx | 8 | ||||
-rw-r--r-- | 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(); |