From 9a8a4b81b66bcf3f1330ceb208f727e2023b36e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 24 Feb 2014 13:25:41 +0000 Subject: [PATCH] coverity#737502 Uncaught exception Change-Id: I5f5b7244db311501af6ded863b4b1fa46e5a547a --- sc/inc/dapiuno.hxx | 3 ++- sc/source/ui/unoobj/dapiuno.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx index ec96ae745699..f40d9714e337 100644 --- a/sc/inc/dapiuno.hxx +++ b/sc/inc/dapiuno.hxx @@ -591,7 +591,8 @@ public: virtual com::sun::star::uno::Reference < com::sun::star::sheet::XDataPilotField > SAL_CALL createNameGroup(const com::sun::star::uno::Sequence< OUString >& aItems) throw (::com::sun::star::uno::RuntimeException, - ::com::sun::star::lang::IllegalArgumentException); + ::com::sun::star::lang::IllegalArgumentException, + std::exception); virtual com::sun::star::uno::Reference < com::sun::star::sheet::XDataPilotField > SAL_CALL createDateGroup(const com::sun::star::sheet::DataPilotFieldGroupInfo& rInfo) throw (::com::sun::star::uno::RuntimeException, diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index 36fba0c7ab45..10e677efd882 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -2539,7 +2539,8 @@ bool ScDataPilotFieldObj::HasString(const Sequence< OUString >& rItems, const OU // XDataPilotFieldGrouping Reference< XDataPilotField > SAL_CALL ScDataPilotFieldObj::createNameGroup( const Sequence< OUString >& rItems ) - throw (RuntimeException, IllegalArgumentException) + throw (RuntimeException, IllegalArgumentException, + std::exception) { SolarMutexGuard aGuard;