diff options
Autocommit at 30.05.2022 @ 20:08
1 files changed, 1 insertions, 5 deletions
| -rw-r--r-- | src/Models/CellFormula.cpp | 6 |
diff --git a/src/Models/CellFormula.cpp b/src/Models/CellFormula.cpp index 3c40421..de5202d 100644 --- a/src/Models/CellFormula.cpp +++ b/src/Models/CellFormula.cpp @@ -112,10 +112,6 @@ void CellFormula::parseAndSetValue(const char* str) { } } -void CellFormula::readFromFile(std::ifstream& file) { - file >> rawFormula; -} - void CellFormula::writeToFile(std::ofstream& file) { - file << rawFormula; + file << '"' << rawFormula << '"'; } |
