From 77fbfa6c4454e20752a2f9345f73d5aa22eb54b6 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 29 Jan 2014 16:13:37 +0000 Subject: coverity#737449 Uncaught exception Change-Id: I617f272a7ae80669eb26c0e7bfb6022a632be552 --- sc/inc/cellsuno.hxx | 3 ++- sc/source/ui/unoobj/cellsuno.cxx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index cde567b67c78..836237ec50ed 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -446,7 +446,8 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL findAll( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XSearchDescriptor >& xDesc ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL findFirst( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XSearchDescriptor >& xDesc ) diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 4beadd98c6a9..7daa1e83f8b0 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -3906,7 +3906,8 @@ uno::Reference SAL_CALL ScCellRangesBase::createSearchD uno::Reference SAL_CALL ScCellRangesBase::findAll( const uno::Reference& xDesc ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; // Wenn nichts gefunden wird, soll Null zurueckgegeben werden (?) -- cgit