summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-17 09:41:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-17 10:57:57 +0100
commitedf57ee27b9cbc8eb544cc2f57d72f53e42c43a5 (patch)
tree1aa62a35705110dfb3244c3123956fe27932c5ef /sc
parente43c672597a4ec274c11f63c699c25c82988f80e (diff)
coverity#1223091 Uncaught exception
Change-Id: I7aacf97a32360ea3c7e17e19d7f5e51e96fcc070
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/cellsuno.hxx3
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx5
2 files changed, 5 insertions, 3 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index d7648f199658..ce7fe849bf08 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -679,7 +679,8 @@ public:
virtual void SetArrayFormulaWithGrammar( const OUString& rFormula,
const OUString& rFormulaNmsp,
const formula::FormulaGrammar::Grammar )
- throw(::com::sun::star::uno::RuntimeException);
+ throw (css::uno::RuntimeException,
+ std::exception);
// XCellRangeAddressable
virtual ::com::sun::star::table::CellRangeAddress SAL_CALL getRangeAddress()
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 699bb6539c9c..276a2fec54d8 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -5090,8 +5090,9 @@ void SAL_CALL ScCellRangeObj::setArrayFormula( const OUString& aFormula )
SetArrayFormula_Impl( aFormula, OUString(), formula::FormulaGrammar::GRAM_PODF_A1);
}
-void ScCellRangeObj::SetArrayFormulaWithGrammar( const OUString& rFormula,
- const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar ) throw(uno::RuntimeException)
+void ScCellRangeObj::SetArrayFormulaWithGrammar(const OUString& rFormula,
+ const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar)
+ throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
SetArrayFormula_Impl( rFormula, rFormulaNmsp, eGrammar);