Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.cpp
diff options
context:
space:
mode:
Commit499a22cf9e6e6ce0cb396a53a25d22a1e63c734f (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-30 20:08:16 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-30 20:08:16 +0300
Files29235d02abc85314a8f95da7d773ba012667afbb /src/Models/CellFormula.cpp
FMI-OOP-P2_Tables-499a22cf9e6e6ce0cb396a53a25d22a1e63c734f.tar
FMI-OOP-P2_Tables-499a22cf9e6e6ce0cb396a53a25d22a1e63c734f.tar.gz
FMI-OOP-P2_Tables-499a22cf9e6e6ce0cb396a53a25d22a1e63c734f.zip
Parent5f73abc94a3d518e78225cff7b2ec2dc7838fff7 (diff)
Autocommit at 30.05.2022 @ 20:08
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 << '"';
}