summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-24 12:53:51 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-24 12:53:51 +0000
commit8fca5e299c8cf4342728485708744de0caffb18e (patch)
tree5fe1bb62d1f51ddcaf8a35e9ab5b5f527f840935
parent6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f (diff)
coverity#737424 Uncaught exception
Change-Id: I8779bf79dd2342f183643767c4c424e7a5500cca
-rw-r--r--sc/inc/cellsuno.hxx3
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx3
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();