diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 16:39:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-13 21:04:48 +0000 |
commit | ec8fc9c7a90739d5af1f2a2829602bacc41505cf (patch) | |
tree | 9256be117f162c434cef4f3e17482282f8492df8 /sd | |
parent | f5b2959152b3eead3b427b0d90942d0ae3a205f0 (diff) |
coverity#737835 Uncaught exception
Change-Id: If5452880070876a4dfc2526b08928fb219a60529
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unoobj.hxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index fad68ba44f93..c3a3433aa338 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -892,7 +892,8 @@ uno::Sequence< OUString > SAL_CALL SdXShape::getSupportedServiceNames() throw(:: /** checks if this is a presentation object */ -sal_Bool SdXShape::IsPresObj() const throw() +sal_Bool SdXShape::IsPresObj() const + throw (std::exception) { SdrObject* pObj = mpShape->GetSdrObject(); if(pObj) diff --git a/sd/source/ui/unoidl/unoobj.hxx b/sd/source/ui/unoidl/unoobj.hxx index 9ef6c3db8409..521a1c1d7d3d 100644 --- a/sd/source/ui/unoidl/unoobj.hxx +++ b/sd/source/ui/unoidl/unoobj.hxx @@ -53,7 +53,8 @@ private: // Intern SdAnimationInfo* GetAnimationInfo( sal_Bool bCreate = sal_False ) const throw (std::exception); - sal_Bool IsPresObj() const throw(); + sal_Bool IsPresObj() const + throw (std::exception); void SetPresObj( sal_Bool bPresObj ) throw(); bool IsEmptyPresObj() const throw(); |