summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 10:37:12 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 10:57:23 +0000
commit6db0345af49dca17274f5d4a9a1dcdf6cf81fe60 (patch)
tree89b097636bd5f8399ae90ba1625c9589b747af48 /sc
parent5bf532fa4d54fe5707f381568da2f0a666487a66 (diff)
coverity#1158317 Uncaught exception
Change-Id: Ic725ffdc2041325b951b4790c2166d25053f7df2
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/viewuno.hxx4
-rw-r--r--sc/source/ui/unoobj/viewuno.cxx3
2 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index 7cf2f38ceeb1..84529dc095d6 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -333,7 +333,9 @@ public:
virtual sal_Bool SAL_CALL getIsWindowSplit() throw(::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getSplitHorizontal() throw(::com::sun::star::uno::RuntimeException);
virtual sal_Int32 SAL_CALL getSplitVertical() throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Int32 SAL_CALL getSplitColumn() throw(::com::sun::star::uno::RuntimeException);
+ virtual sal_Int32 SAL_CALL getSplitColumn()
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
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 )
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index deb16a824b81..3d596c5e3fce 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -1641,7 +1641,8 @@ sal_Int32 SAL_CALL ScTabViewObj::getSplitVertical() throw(uno::RuntimeException)
return 0;
}
-sal_Int32 SAL_CALL ScTabViewObj::getSplitColumn() throw(uno::RuntimeException)
+sal_Int32 SAL_CALL ScTabViewObj::getSplitColumn()
+ throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScTabViewShell* pViewSh = GetViewShell();