diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 13:32:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 13:33:23 +0000 |
commit | 42d46144df4f30f8f9d5aa4c92e653005ec9f2a8 (patch) | |
tree | 3165fd89687ffed59194beee9900e044769048b4 /sc | |
parent | 1d250c95ddcfe6a1d3175e7fd1cc3c5271c6c1d5 (diff) |
coverity#737506 Uncaught exception
Change-Id: Ib36b9bab3f31b32b8be3d7c51af7f26280a7a069
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/dapiuno.hxx | 11 | ||||
-rw-r--r-- | sc/source/ui/unoobj/dapiuno.cxx | 4 |
2 files changed, 9 insertions, 6 deletions
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index 45080c2aab7d..10fdb0803d63 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -521,11 +521,12 @@ public: 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); + 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, diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index 890b0f9cf240..6f1b4e5ee4a0 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -1888,7 +1888,9 @@ Reference<XPropertySetInfo> SAL_CALL ScDataPilotFieldObj::getPropertySetInfo() } void SAL_CALL ScDataPilotFieldObj::setPropertyValue( const OUString& aPropertyName, const Any& aValue ) - throw(UnknownPropertyException, PropertyVetoException, IllegalArgumentException, WrappedTargetException, RuntimeException) + throw (UnknownPropertyException, PropertyVetoException, + IllegalArgumentException, WrappedTargetException, + RuntimeException, std::exception) { SolarMutexGuard aGuard; OUString aNameString(aPropertyName); |