From aca217b5fda22eb73d2fbea29099fe2f67eaabe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 24 May 2014 15:11:39 +0100 Subject: [PATCH] coverity#983801 Uncaught exception Change-Id: Ib47f77fbd5ab03a04d40e95fa8338af238531a3b --- sd/source/ui/unoidl/unoobj.cxx | 2 +- sd/source/ui/unoidl/unoobj.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index a28043c24c24..6b3cc2c3bdff 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -983,7 +983,7 @@ OUString SdXShape::GetPlaceholderText() const /** sets/reset the empty status of a presentation object */ void SdXShape::SetEmptyPresObj(bool bEmpty) - throw (std::exception) + throw (css::uno::RuntimeException, std::exception) { // only possible if this actually *is* a presentation object if( !IsPresObj() ) diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx index 097e866078dd..12e10d4b4da9 100644 --- a/sd/source/ui/unoidl/unoobj.hxx +++ b/sd/source/ui/unoidl/unoobj.hxx @@ -59,7 +59,7 @@ private: bool IsEmptyPresObj() const throw(); void SetEmptyPresObj(bool bEmpty) - throw (std::exception); + throw (css::uno::RuntimeException, std::exception); bool IsMasterDepend() const throw(); void SetMasterDepend( bool bDepend ) throw();