diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:53:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 12:53:51 +0000 |
commit | 8fca5e299c8cf4342728485708744de0caffb18e (patch) | |
tree | 5fe1bb62d1f51ddcaf8a35e9ab5b5f527f840935 | |
parent | 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f (diff) |
coverity#737424 Uncaught exception
Change-Id: I8779bf79dd2342f183643767c4c424e7a5500cca
-rw-r--r-- | sc/inc/cellsuno.hxx | 3 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx index e75d7f7635ea..2cd70c111b3a 100644 --- a/sc/inc/cellsuno.hxx +++ b/sc/inc/cellsuno.hxx @@ -1200,7 +1200,8 @@ public: std::exception); virtual void SAL_CALL ungroup( const ::com::sun::star::table::CellRangeAddress& aRange, ::com::sun::star::table::TableOrientation nOrientation ) - throw(::com::sun::star::uno::RuntimeException); + throw (::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL autoOutline( 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 a095dbb65d4b..cd4f082db769 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -7874,7 +7874,8 @@ void SAL_CALL ScTableSheetObj::group( const table::CellRangeAddress& rGroupRange void SAL_CALL ScTableSheetObj::ungroup( const table::CellRangeAddress& rGroupRange, table::TableOrientation nOrientation ) - throw(uno::RuntimeException) + throw (uno::RuntimeException, + std::exception) { SolarMutexGuard aGuard; ScDocShell* pDocSh = GetDocShell(); |