From d72af8cba6d1125251804a7b9abe74165c706aa5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 27 Jan 2014 09:09:20 +0000 Subject: coverity#1158338 Uncaught exception Change-Id: I212915e1f0fd3594e276e9a8dd702aab800b0b4f --- sc/inc/cellsuno.hxx | 4 +++- sc/source/ui/unoobj/cellsuno.cxx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index 5fb16f218f03..a4b5348fd11b 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -377,7 +377,9 @@ public: // XChartDataArray virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< double > > SAL_CALL - getData() throw(::com::sun::star::uno::RuntimeException); + getData() + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL setData( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< double > >& aData ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 96fcfec56d51..ad06f5ab79a2 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -3063,7 +3063,7 @@ ScMemChart* ScCellRangesBase::CreateMemChart_Impl() const } uno::Sequence< uno::Sequence > SAL_CALL ScCellRangesBase::getData() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; ScMemChart* pMemChart = CreateMemChart_Impl(); -- cgit