diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:15:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 20:56:29 +0000 |
commit | c052deac30a0f19a15f0eb6a26c48f55b534c657 (patch) | |
tree | 102ed9d44977e86a122b6039d8d17c9d5adfedfd /sc | |
parent | 28e9efe5b4d6699b33498953e798f76008edaeda (diff) |
coverity#1158351 Uncaught exception
Change-Id: I8549a8fe7cbb262712c5a4996802a8c724ea3645
Diffstat (limited to 'sc')
-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 902f4432270b..07813c714e1b 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -1179,7 +1179,8 @@ public: std::exception); virtual void SAL_CALL clearOutline() throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL hideDetail( const ::com::sun::star::table::CellRangeAddress& aRange ) - throw(::com::sun::star::uno::RuntimeException); + throw(::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL showDetail( const ::com::sun::star::table::CellRangeAddress& aRange ) throw(::com::sun::star::uno::RuntimeException, std::exception); diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 711c773fab4e..97dd92b02945 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -7920,7 +7920,7 @@ void SAL_CALL ScTableSheetObj::clearOutline() throw(uno::RuntimeException) } void SAL_CALL ScTableSheetObj::hideDetail( const table::CellRangeAddress& rCellRange ) - throw(uno::RuntimeException) + throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; ScDocShell* pDocSh = GetDocShell(); |