Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 0 deletions
-rw-r--r--src/Models/CellFormula.cpp1
diff --git a/src/Models/CellFormula.cpp b/src/Models/CellFormula.cpp
index 19bea60..f26ce0e 100644
--- a/src/Models/CellFormula.cpp
+++ b/src/Models/CellFormula.cpp
@@ -95,6 +95,7 @@ void O(const char*& str, char& buffer) {
void CellFormula::parseAndSetValue(const char* str) {
rawFormula = String(str);
+ formula.clear();
Pair<int, int> loc;
char currOp = 0;