From f10e4ce1ed2dace97823c59ca8b0dca161db42aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 24 Feb 2014 13:34:08 +0000 Subject: [PATCH] coverity#737507 Uncaught exception Change-Id: Id035849f94bfb5e6ba7f5463a6a548bf88b77e85 --- sc/inc/dapiuno.hxx | 4 +++- sc/source/ui/unoobj/dapiuno.cxx | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index 10fdb0803d63..5ba3cd671b32 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -511,7 +511,9 @@ public: virtual ~ScDataPilotFieldObj(); // XNamed - virtual OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException); + virtual OUString SAL_CALL getName() + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL setName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index 6f1b4e5ee4a0..d25ec0db9fcf 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -1845,7 +1845,8 @@ ScDataPilotFieldObj::~ScDataPilotFieldObj() // XNamed -OUString SAL_CALL ScDataPilotFieldObj::getName() throw(RuntimeException) +OUString SAL_CALL ScDataPilotFieldObj::getName() + throw (RuntimeException, std::exception) { SolarMutexGuard aGuard; OUString aName;