Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Table.cpp
diff options
context:
space:
mode:
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);
}