diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 12:38:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-29 12:58:07 +0100 |
commit | 1f2a705bf3a5556c8dc18f5f67a6544747828392 (patch) | |
tree | 07a51cd7efcfff5d6c40d6184457e43e676924f1 /sd | |
parent | e632eaecfcd71d8f280ce9142a2ab9966a27bae5 (diff) |
coverity#1308581 Uncaught exception
Change-Id: I925cc31890c8b1cd5ced0a619fbfde4be0a66dd4
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/unomodel.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/unoidl/unomodel.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
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 ) |