summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-29 11:12:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-29 13:23:52 +0000
commit4efedf4c9b1e0f88848b195a15152ebc76bb0a19 (patch)
tree083fbf98a5e2381016571a50c3059561ccbc425b /sc
parent9eefa85dd2f4271c56538186afda7abf0a3ef778 (diff)
coverity#1158314 Uncaught exception
Change-Id: Icaaaf9eab3dfd9c15f64b60f2fd3a571c5a09888
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 ccabc976fa91..dbcb96a430af 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -346,7 +346,8 @@ public:
// XViewFreezable
virtual sal_Bool SAL_CALL hasFrozenPanes() throw(::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL freezeAtPosition( sal_Int32 nColumns, sal_Int32 nRows )
- throw(::com::sun::star::uno::RuntimeException);
+ throw(::com::sun::star::uno::RuntimeException,
+ std::exception);
// XRangeSelection
virtual void SAL_CALL startRangeSelection( const ::com::sun::star::uno::Sequence<
diff --git a/sc/source/ui/unoobj/viewuno.cxx b/sc/source/ui/unoobj/viewuno.cxx
index 9a1540725954..8c0ec30efa78 100644
--- a/sc/source/ui/unoobj/viewuno.cxx
+++ b/sc/source/ui/unoobj/viewuno.cxx
@@ -1703,7 +1703,7 @@ void SAL_CALL ScTabViewObj::splitAtPosition( sal_Int32 nPixelX, sal_Int32 nPixel
}
void SAL_CALL ScTabViewObj::freezeAtPosition( sal_Int32 nColumns, sal_Int32 nRows )
- throw(uno::RuntimeException)
+ throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScTabViewShell* pViewSh = GetViewShell();