summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-10 12:33:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-10 13:23:35 +0100
commitae4da7d36b66bfdf9c253ba69d2bcff979c71d9e (patch)
tree5ea09b85d37cbd28cdccbcde958272a578583b48
parentbf6a770dfe81dfc2567d2f3386d5946c7a6a31ef (diff)
coverity#1187810 Uncaught exception
Change-Id: Icfd867bbe24ca738ad409001115d1b0470041de4
-rw-r--r--sc/inc/cellsuno.hxx2
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx5
2 files changed, 4 insertions, 3 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index da3247270db8..d7648f199658 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -657,7 +657,7 @@ protected:
void SetArrayFormula_Impl( const OUString& rFormula,
const OUString& rFormulaNmsp,
const formula::FormulaGrammar::Grammar eGrammar )
- throw(::com::sun::star::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
public:
ScCellRangeObj(ScDocShell* pDocSh, const ScRange& rR);
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index dd3a0e25e0e3..699bb6539c9c 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -5054,8 +5054,9 @@ OUString SAL_CALL ScCellRangeObj::getArrayFormula() throw(uno::RuntimeException,
return aFormula;
}
-void ScCellRangeObj::SetArrayFormula_Impl( const OUString& rFormula,
- const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar ) throw(uno::RuntimeException)
+void ScCellRangeObj::SetArrayFormula_Impl(const OUString& rFormula,
+ const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar)
+ throw (uno::RuntimeException, std::exception)
{
ScDocShell* pDocSh = GetDocShell();
if (pDocSh)