diff options
| Commit | dfddb7eb9f9f849241011b37eb794e6c940c1b2a (patch) | |
|---|---|---|
| Author | 2022-06-14 13:44:19 +0300 | |
| Committer | 2022-06-14 13:44:19 +0300 | |
| Files | e04e0c414e4e7650f3ff7ba14481345dc37736aa /src | |
| FMI-OOP-P2_Tables-dfddb7eb9f9f849241011b37eb794e6c940c1b2a.tar FMI-OOP-P2_Tables-dfddb7eb9f9f849241011b37eb794e6c940c1b2a.tar.gz FMI-OOP-P2_Tables-dfddb7eb9f9f849241011b37eb794e6c940c1b2a.zip | ||
| Parent | cb7ed2e2af57c98bbe22080ed5529777b8019b74 (diff) | |
Autocommit at 14.06.2022 @ 13:44
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"; } } |
