From 1f2a705bf3a5556c8dc18f5f67a6544747828392 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 29 Jun 2015 12:38:07 +0100 Subject: coverity#1308581 Uncaught exception Change-Id: I925cc31890c8b1cd5ced0a619fbfde4be0a66dd4 --- sd/source/ui/inc/unomodel.hxx | 2 +- 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 ) -- cgit v1.2.3