summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-05-24 15:11:39 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-05-24 16:11:00 +0100
commitaca217b5fda22eb73d2fbea29099fe2f67eaabe6 (patch)
tree9a42a96d31460a555e128c7de8b4fb2c9c4be15f /sd
parent94cf2594570576c80287362e83d85c0feec8cc3e (diff)
coverity#983801 Uncaught exception
Change-Id: Ib47f77fbd5ab03a04d40e95fa8338af238531a3b
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx2
-rw-r--r--sd/source/ui/unoidl/unoobj.hxx2
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();