summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 11:13:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 13:23:52 +0000
commit1590e29eda3dc0ee52e105dceaad02cc1ce39f1a (patch)
treefba1f2f8d42421287394cc7ad79c0650a5dba2fa /sc
parent4efedf4c9b1e0f88848b195a15152ebc76bb0a19 (diff)
coverity#1158313 Uncaught exception
Change-Id: Ice180d260685f6c9971a5daec18bf98b329bd4be
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/viewuno.hxx3
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index dbcb96a430af..c0f37cbed020 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -341,7 +341,8 @@ public:
virtual sal_Int32 SAL_CALL getSplitRow()
throw(::com::sun::star::uno::RuntimeException, std::exception);
virtual void SAL_CALL splitAtPosition( sal_Int32 nPixelX, sal_Int32 nPixelY )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
// XViewFreezable
virtual sal_Bool SAL_CALL hasFrozenPanes() throw(::com::sun::star::uno::RuntimeException);
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 8c0ec30efa78..ce5ca7364da7 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -1690,7 +1690,7 @@ sal_Int32 SAL_CALL ScTabViewObj::getSplitRow() throw(uno::RuntimeException, std:
}
void SAL_CALL ScTabViewObj::splitAtPosition( sal_Int32 nPixelX, sal_Int32 nPixelY )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScTabViewShell* pViewSh = GetViewShell();