summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-08 14:04:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-08 14:15:57 +0000
commitf4897446c0ae9b9060562755351a3811c835e345 (patch)
tree069696dc4c301fff0d352b705360ab35719ea068 /sc
parentb39d5f1ebc9fd4b076d3ff1cb4c83fe07ef57329 (diff)
coverity#1169853 Uncaught exception
Change-Id: I3f10fbc70e72f6788e8ecc6244cc89d0c6cfa07b
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cellsuno.hxx3
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx3
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index 85f36982dc12..a90e2a6c69d2 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -1040,7 +1040,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 70666102efd2..eedda88ef0c3 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -8508,7 +8508,8 @@ void ScTableSheetObj::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pEn
void ScTableSheetObj::GetOnePropertyValue( const SfxItemPropertySimpleEntry* pEntry,
uno::Any& rAny )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException,
+ std::exception)
{
if ( pEntry )
{