diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 09:09:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 11:14:26 +0000 |
commit | d72af8cba6d1125251804a7b9abe74165c706aa5 (patch) | |
tree | 40c09873555d5e4240cb9555f8a1acfaabcf1d0a /sc | |
parent | 667bb9c5f8c80862ced74b95517bc95d18f2adf6 (diff) |
coverity#1158338 Uncaught exception
Change-Id: I212915e1f0fd3594e276e9a8dd702aab800b0b4f
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 2 |
2 files changed, 4 insertions, 2 deletions
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<double> > SAL_CALL ScCellRangesBase::getData() - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; ScMemChart* pMemChart = CreateMemChart_Impl(); |