diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 16:04:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-29 16:41:35 +0000 |
commit | fc94084ad8684481888cf39b331a2e22cfdc8755 (patch) | |
tree | ef43c11e2ee4e7467602c93ff63564d74e40018b /sc | |
parent | a4364d474bbccd13836bd6dd8c1fa65955d5450d (diff) |
coverity#737687 Uncaught exception
Change-Id: Ib7e2245861d82d7863f3fe03b484356adeae37db
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/styleuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/styleuno.cxx | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/styleuno.hxx b/sc/inc/styleuno.hxx index d5255dbc3092..24926b511f93 100644 --- a/sc/inc/styleuno.hxx +++ b/sc/inc/styleuno.hxx @@ -215,7 +215,8 @@ private: const SfxItemPropertySimpleEntry* pEntry, const ::com::sun::star::uno::Any* pValue ) throw(::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, + std::exception); ScStyleObj(); // disabled public: diff --git a/sc/source/ui/unoobj/styleuno.cxx b/sc/source/ui/unoobj/styleuno.cxx index 3536564249b1..e0f3d0e1c846 100644 --- a/sc/source/ui/unoobj/styleuno.cxx +++ b/sc/source/ui/unoobj/styleuno.cxx @@ -1533,7 +1533,9 @@ void SAL_CALL ScStyleObj::setPropertyValue( } void ScStyleObj::SetOnePropertyValue( const OUString& rPropertyName, const SfxItemPropertySimpleEntry* pEntry, const uno::Any* pValue ) - throw(lang::IllegalArgumentException, uno::RuntimeException) + throw(lang::IllegalArgumentException, + uno::RuntimeException, + std::exception) { SfxStyleSheetBase* pStyle = GetStyle_Impl(); if ( pStyle && pEntry ) |