summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-25 10:18:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-25 10:45:23 +0000
commit6b52bd74922c870093225af24a449f858dc615c8 (patch)
treeb9ebb1d0d5afd1f85ce37cf76aec68caebab6f4b /sc
parent90adc6071ba2bfce3f8fad5c5a22cd4d44982ec0 (diff)
coverity#737680 Uncaught exception
Change-Id: I126c6632574828d6afc8fedd2dbde00642882225
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/shapeuno.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/shapeuno.cxx b/sc/source/ui/unoobj/shapeuno.cxx
index 9c1031883c96..6a2b74f9f2fc 100644
--- a/sc/source/ui/unoobj/shapeuno.cxx
+++ b/sc/source/ui/unoobj/shapeuno.cxx
@@ -1427,7 +1427,10 @@ public:
}
// XNameReplace
- virtual void SAL_CALL replaceByName( const OUString& aName, const uno::Any& aElement ) throw(lang::IllegalArgumentException, container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException)
+ virtual void SAL_CALL replaceByName( const OUString& aName, const uno::Any& aElement )
+ throw (lang::IllegalArgumentException, container::NoSuchElementException,
+ lang::WrappedTargetException, uno::RuntimeException,
+ std::exception)
{
if ( !hasByName( aName ) )
throw container::NoSuchElementException();