diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 09:21:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-27 11:14:30 +0000 |
commit | 433c7d160cd893cdbdf1ebcef91eed8e35fdb2d4 (patch) | |
tree | c2a1cea93ff8ebba290556512a7f61e9a1edb62b | |
parent | 46fdb171095e399ca27b2c680fa738c6025252ac (diff) |
coverity#1158330 Uncaught exception
Change-Id: I73e4142b5c0a4c705a04a3cb354d051bb9bc820a
-rw-r--r-- | sc/inc/chartuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/chartuno.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx index 3094b64ee258..cc828bd3be53 100644 --- a/sc/inc/chartuno.hxx +++ b/sc/inc/chartuno.hxx @@ -159,7 +159,8 @@ public: // XTableChart virtual sal_Bool SAL_CALL getHasColumnHeaders() throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setHasColumnHeaders( sal_Bool bHasColumnHeaders ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual sal_Bool SAL_CALL getHasRowHeaders() throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setHasRowHeaders( sal_Bool bHasRowHeaders ) throw(::com::sun::star::uno::RuntimeException); diff --git a/sc/source/ui/unoobj/chartuno.cxx b/sc/source/ui/unoobj/chartuno.cxx index 53b8255ab740..51e82aa14bf1 100644 --- a/sc/source/ui/unoobj/chartuno.cxx +++ b/sc/source/ui/unoobj/chartuno.cxx @@ -668,7 +668,8 @@ sal_Bool SAL_CALL ScChartObj::getHasColumnHeaders() throw(uno::RuntimeException) } void SAL_CALL ScChartObj::setHasColumnHeaders( sal_Bool bHasColumnHeaders ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; ScRangeListRef xRanges = new ScRangeList; |