diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 09:04:18 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 11:14:22 +0000 |
commit | 07152dc3f8f8d1c571852d2ecad436825347bde6 (patch) | |
tree | 2384ec63b0a99ed5e9ec297359390834007eaf37 | |
parent | 7a887519852ed9b4d74df0ccbede771195592c96 (diff) |
coverity#1158344 Uncaught exception
Change-Id: Ifae42003982f74f30e946edb8d19ecc02bd33a46
-rw-r--r-- | sc/inc/cellsuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index a474cb4fc6c4..903a4a4f0bea 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -263,7 +263,8 @@ public: // XSheetOperation virtual double SAL_CALL computeFunction( ::com::sun::star::sheet::GeneralFunction nFunction ) throw(::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL clearContents( sal_Int32 nContentFlags ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index b64d42ebfb8e..a8587faa2f80 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -1818,7 +1818,7 @@ void ScCellRangesBase::PaintRanges_Impl( sal_uInt16 nPart ) // XSheetOperation double SAL_CALL ScCellRangesBase::computeFunction( sheet::GeneralFunction nFunction ) - throw(uno::Exception, uno::RuntimeException) + throw(uno::Exception, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; ScMarkData aMark(*GetMarkData()); |