summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-24 12:48:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-24 12:53:13 +0000
commitb10fee9d8d3b61579841ee584cc6fcca5869f5e9 (patch)
treeb8babd5e473f06b31f4830f37a5e27ca8b246aac /sc
parente2abad8add51b5cf23f415c7d72097124f29e2cf (diff)
coverity#737363 Uncaught exception
Change-Id: I29717d8379a69eede5ef44b57934c2fe70c04248
Diffstat (limited to 'sc')
-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 a5b596b2c93e..5368f0839f6b 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -694,7 +694,8 @@ public:
// XArrayFormulaTokens
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::sheet::FormulaToken > SAL_CALL getArrayTokens()
- throw (::com::sun::star::uno::RuntimeException);
+ throw (::com::sun::star::uno::RuntimeException,
+ std::exception);
virtual void SAL_CALL setArrayTokens( const ::com::sun::star::uno::Sequence<
::com::sun::star::sheet::FormulaToken >& aTokens )
throw (::com::sun::star::uno::RuntimeException);
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index ebbd4449cfc6..b3181fba44ea 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -5146,7 +5146,8 @@ void ScCellRangeObj::SetArrayFormulaWithGrammar( const OUString& rFormula,
// XArrayFormulaTokens
-uno::Sequence<sheet::FormulaToken> SAL_CALL ScCellRangeObj::getArrayTokens() throw(uno::RuntimeException)
+uno::Sequence<sheet::FormulaToken> SAL_CALL ScCellRangeObj::getArrayTokens()
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;