diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 15:32:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 16:41:32 +0000 |
commit | 61fe4e1f7825812f6ade8678c160fc923d69c429 (patch) | |
tree | ac3bef57cc4b08de5346fd820e19399ab03bfe1b /sc | |
parent | e3149900156ef4d207f64ec16fb2d367c3c29dba (diff) |
coverity#1079017 Uncaught exception
Change-Id: I2f76a79b66e38b6557645303d4d4515d74172dcb
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/docuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/docuno.cxx | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index 56ec90956663..4e7577d5686e 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -244,7 +244,8 @@ public: ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, - ::com::sun::star::uno::RuntimeException); + ::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, diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx index f3b64c5fd73a..309e4ceb52bf 100644 --- a/sc/source/ui/unoobj/docuno.cxx +++ b/sc/source/ui/unoobj/docuno.cxx @@ -1585,9 +1585,9 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScModelObj::getPropertySetInfo( void SAL_CALL ScModelObj::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue ) - throw(beans::UnknownPropertyException, beans::PropertyVetoException, - lang::IllegalArgumentException, lang::WrappedTargetException, - uno::RuntimeException) + throw(beans::UnknownPropertyException, beans::PropertyVetoException, + lang::IllegalArgumentException, lang::WrappedTargetException, + uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; OUString aString(aPropertyName); |