coverity#1187810 Uncaught exception

Change-Id: Icfd867bbe24ca738ad409001115d1b0470041de4
This commit is contained in:
Caolán McNamara 2014-06-10 12:33:01 +01:00
parent bf6a770dfe
commit ae4da7d36b
2 changed files with 4 additions and 3 deletions

View File

@ -657,7 +657,7 @@ protected:
void SetArrayFormula_Impl( const OUString& rFormula, void SetArrayFormula_Impl( const OUString& rFormula,
const OUString& rFormulaNmsp, const OUString& rFormulaNmsp,
const formula::FormulaGrammar::Grammar eGrammar ) const formula::FormulaGrammar::Grammar eGrammar )
throw(::com::sun::star::uno::RuntimeException); throw (css::uno::RuntimeException, std::exception);
public: public:
ScCellRangeObj(ScDocShell* pDocSh, const ScRange& rR); ScCellRangeObj(ScDocShell* pDocSh, const ScRange& rR);

View File

@ -5054,8 +5054,9 @@ OUString SAL_CALL ScCellRangeObj::getArrayFormula() throw(uno::RuntimeException,
return aFormula; return aFormula;
} }
void ScCellRangeObj::SetArrayFormula_Impl( const OUString& rFormula, void ScCellRangeObj::SetArrayFormula_Impl(const OUString& rFormula,
const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar ) throw(uno::RuntimeException) const OUString& rFormulaNmsp, const formula::FormulaGrammar::Grammar eGrammar)
throw (uno::RuntimeException, std::exception)
{ {
ScDocShell* pDocSh = GetDocShell(); ScDocShell* pDocSh = GetDocShell();
if (pDocSh) if (pDocSh)