Kaydet (Commit) 1f2a705b authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1308581 Uncaught exception

Change-Id: I925cc31890c8b1cd5ced0a619fbfde4be0a66dd4
üst e632eaec
...@@ -387,7 +387,7 @@ public: ...@@ -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; 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 // intern
SdPage* FindPage( const OUString& rName ) const throw(); SdPage* FindPage( const OUString& rName ) const throw(std::exception);
}; };
#endif #endif
......
...@@ -3273,7 +3273,7 @@ sal_Bool SAL_CALL SdDocLinkTargets::hasElements() ...@@ -3273,7 +3273,7 @@ sal_Bool SAL_CALL SdDocLinkTargets::hasElements()
return mpModel->GetDoc() != NULL; 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(); SdDrawDocument* mpDoc = mpModel->GetDoc();
if( mpDoc == NULL ) if( mpDoc == NULL )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment