Kaydet (Commit) edf57ee2 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1223091 Uncaught exception

Change-Id: I7aacf97a32360ea3c7e17e19d7f5e51e96fcc070
üst e43c6725
...@@ -679,7 +679,8 @@ public: ...@@ -679,7 +679,8 @@ public:
virtual void SetArrayFormulaWithGrammar( const OUString& rFormula, virtual void SetArrayFormulaWithGrammar( const OUString& rFormula,
const OUString& rFormulaNmsp, const OUString& rFormulaNmsp,
const formula::FormulaGrammar::Grammar ) const formula::FormulaGrammar::Grammar )
throw(::com::sun::star::uno::RuntimeException); throw (css::uno::RuntimeException,
std::exception);
// XCellRangeAddressable // XCellRangeAddressable
virtual ::com::sun::star::table::CellRangeAddress SAL_CALL getRangeAddress() virtual ::com::sun::star::table::CellRangeAddress SAL_CALL getRangeAddress()
......
...@@ -5090,8 +5090,9 @@ void SAL_CALL ScCellRangeObj::setArrayFormula( const OUString& aFormula ) ...@@ -5090,8 +5090,9 @@ void SAL_CALL ScCellRangeObj::setArrayFormula( const OUString& aFormula )
SetArrayFormula_Impl( aFormula, OUString(), formula::FormulaGrammar::GRAM_PODF_A1); SetArrayFormula_Impl( aFormula, OUString(), formula::FormulaGrammar::GRAM_PODF_A1);
} }
void ScCellRangeObj::SetArrayFormulaWithGrammar( const OUString& rFormula, void ScCellRangeObj::SetArrayFormulaWithGrammar(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)
{ {
SolarMutexGuard aGuard; SolarMutexGuard aGuard;
SetArrayFormula_Impl( rFormula, rFormulaNmsp, eGrammar); SetArrayFormula_Impl( rFormula, rFormulaNmsp, eGrammar);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment