Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 5 deletions
-rw-r--r--src/Models/CellFormula.cpp6
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 << '"';
}