diff options
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | src/Models/CellFormula.cpp | 4 |
diff --git a/src/Models/CellFormula.cpp b/src/Models/CellFormula.cpp index 3c2fd26..2388498 100644 --- a/src/Models/CellFormula.cpp +++ b/src/Models/CellFormula.cpp @@ -55,7 +55,7 @@ double CellFormula::getNumeralValue() const { try { return calculate(); } - catch (std::logic_error) { + catch (std::logic_error e) { return 0; } } @@ -64,7 +64,7 @@ String CellFormula::getValueForPrint() const { try { return String() += calculate(); } - catch (std::logic_error) { + catch (std::logic_error e) { return "Error"; } } |
