coverity#1308581 Uncaught exception

Change-Id: I925cc31890c8b1cd5ced0a619fbfde4be0a66dd4
This commit is contained in:
Caolán McNamara
2015-06-29 12:38:07 +01:00
parent e632eaecfc
commit 1f2a705bf3
2 changed files with 2 additions and 2 deletions

View File

@@ -387,7 +387,7 @@ public:
virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// intern
SdPage* FindPage( const OUString& rName ) const throw();
SdPage* FindPage( const OUString& rName ) const throw(std::exception);
};
#endif

View File

@@ -3273,7 +3273,7 @@ sal_Bool SAL_CALL SdDocLinkTargets::hasElements()
return mpModel->GetDoc() != NULL;
}
SdPage* SdDocLinkTargets::FindPage( const OUString& rName ) const throw()
SdPage* SdDocLinkTargets::FindPage( const OUString& rName ) const throw(std::exception)
{
SdDrawDocument* mpDoc = mpModel->GetDoc();
if( mpDoc == NULL )