summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-27 09:10:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-27 11:14:26 +0000
commit00071f2be47a5af1f605530faf7925c72752b4e2 (patch)
treeb6022952a50e60b96680878c6d4d3465109c9806 /sc
parentd72af8cba6d1125251804a7b9abe74165c706aa5 (diff)
coverity#1158337 Uncaught exception
Change-Id: I951ff26682d2391e6657be169eb4e7da36078a02
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cellsuno.hxx3
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx5
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 )
{