diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-08 21:07:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-08 21:07:58 +0000 |
commit | dec544be7c929a5c006008ddd3b901f18f4fbbe1 (patch) | |
tree | 314d8b4e205db08e3153d86a6387b7ce0169dd6d | |
parent | 120cd03989394896cdcc928303546254b1e956ac (diff) |
coverity#169849 Uncaught exception
Change-Id: I7c41fcd5be19ed9a0ba7e06920da4eadd0ea15a9
-rw-r--r-- | sc/inc/styleuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/styleuno.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/styleuno.hxx b/sc/inc/styleuno.hxx index 53507d6940c5..ca20f18a8c09 100644 --- a/sc/inc/styleuno.hxx +++ b/sc/inc/styleuno.hxx @@ -325,7 +325,8 @@ public: ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setPropertyToDefault( const OUString& PropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, + std::exception); virtual ::com::sun::star::uno::Any SAL_CALL getPropertyDefault( const OUString& aPropertyName ) throw(::com::sun::star::beans::UnknownPropertyException, diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx index 8c2c60f6c8cc..620577456b1c 100644 --- a/sc/source/ui/unoobj/styleuno.cxx +++ b/sc/source/ui/unoobj/styleuno.cxx @@ -1252,7 +1252,8 @@ uno::Sequence<beans::PropertyState> SAL_CALL ScStyleObj::getPropertyStates( } void SAL_CALL ScStyleObj::setPropertyToDefault( const OUString& aPropertyName ) - throw(beans::UnknownPropertyException, uno::RuntimeException) + throw(beans::UnknownPropertyException, uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; |