Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Table.cpp
diff options
context:
space:
mode:
Commit1f5f431447ef530b2b7e5e3140fcafe9379f09cb (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-28 18:14:23 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-28 18:14:23 +0300
Files8986a91fbfd8f5aa0b412fb8f6bf2d91397df679 /src/Models/Table.cpp
FMI-OOP-P2_Tables-1f5f431447ef530b2b7e5e3140fcafe9379f09cb.tar
FMI-OOP-P2_Tables-1f5f431447ef530b2b7e5e3140fcafe9379f09cb.tar.gz
FMI-OOP-P2_Tables-1f5f431447ef530b2b7e5e3140fcafe9379f09cb.zip
Parentb242dc2a66fdae9e9c201631e056f117fbf88972 (diff)
Autocommit at 28.05.2022 @ 18:14
1 files changed, 5 insertions, 0 deletions
-rw-r--r--src/Models/Table.cpp5
diff --git a/src/Models/Table.cpp b/src/Models/Table.cpp
index 19bf154..602b424 100644
--- a/src/Models/Table.cpp
+++ b/src/Models/Table.cpp
@@ -1,4 +1,8 @@
#include "Table.h"
+#include "CellDouble.h"
+#include "CellInt.h"
+#include "CellString.h"
+#include "CellFormula.h"
#include <cstring>
Table::Table(unsigned rows, unsigned cols) {
@@ -13,4 +17,5 @@ void Table::putCell(unsigned row, unsigned col, const char* rawValue) {
Cell* newCell;
if (doubleParse - intParse > 0.00001)
+ newCell = new CellDouble(doubleParse);
}