diff --git a/sd/source/ui/inc/unomodel.hxx b/sd/source/ui/inc/unomodel.hxx index 009fb672cf27..f77cc5bbd2e2 100644 --- a/sd/source/ui/inc/unomodel.hxx +++ b/sd/source/ui/inc/unomodel.hxx @@ -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 diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx index 4940b08ce810..dd71a82d7ac5 100644 --- a/sd/source/ui/unoidl/unomodel.cxx +++ b/sd/source/ui/unoidl/unomodel.cxx @@ -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 )