coverity#737835 Uncaught exception

Change-Id: If5452880070876a4dfc2526b08928fb219a60529
This commit is contained in:
Caolán McNamara
2014-02-13 16:39:51 +00:00
parent f5b2959152
commit ec8fc9c7a9
2 changed files with 4 additions and 2 deletions

View File

@@ -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)

View File

@@ -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();