diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 12:33:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 13:23:35 +0100 |
commit | ae4da7d36b66bfdf9c253ba69d2bcff979c71d9e (patch) | |
tree | 5ea09b85d37cbd28cdccbcde958272a578583b48 /sc | |
parent | bf6a770dfe81dfc2567d2f3386d5946c7a6a31ef (diff) |
coverity#1187810 Uncaught exception
Change-Id: Icfd867bbe24ca738ad409001115d1b0470041de4
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/cellsuno.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 5 |
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) |