diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 09:10:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 11:14:26 +0000 |
commit | 00071f2be47a5af1f605530faf7925c72752b4e2 (patch) | |
tree | b6022952a50e60b96680878c6d4d3465109c9806 /sc | |
parent | d72af8cba6d1125251804a7b9abe74165c706aa5 (diff) |
coverity#1158337 Uncaught exception
Change-Id: I951ff26682d2391e6657be169eb4e7da36078a02
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index a4b5348fd11b..e4da135aff64 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -1276,7 +1276,8 @@ protected: virtual const SfxItemPropertyMap& GetItemPropertyMap(); virtual void GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, ::com::sun::star::uno::Any& ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual void SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, const ::com::sun::star::uno::Any& aValue ) throw(::com::sun::star::lang::IllegalArgumentException, diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index ad06f5ab79a2..16a8d0099837 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -8888,9 +8888,8 @@ void ScTableColumnObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pE } } -void ScTableColumnObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, - uno::Any& rAny ) - throw(uno::RuntimeException) +void ScTableColumnObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry, uno::Any& rAny ) + throw(uno::RuntimeException, std::exception) { if ( pEntry ) { |