Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.cpp
diff options
context:
space:
mode:
Commitdfddb7eb9f9f849241011b37eb794e6c940c1b2a (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-06-14 13:44:19 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-06-14 13:44:19 +0300
Filese04e0c414e4e7650f3ff7ba14481345dc37736aa /src/Models/CellFormula.cpp
FMI-OOP-P2_Tables-dfddb7eb9f9f849241011b37eb794e6c940c1b2a.tar
FMI-OOP-P2_Tables-dfddb7eb9f9f849241011b37eb794e6c940c1b2a.tar.gz
FMI-OOP-P2_Tables-dfddb7eb9f9f849241011b37eb794e6c940c1b2a.zip
Parentcb7ed2e2af57c98bbe22080ed5529777b8019b74 (diff)
Autocommit at 14.06.2022 @ 13:44
1 files changed, 2 insertions, 2 deletions
-rw-r--r--src/Models/CellFormula.cpp4
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";
}
}