Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / Table.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/Models/Table.cpp2
diff --git a/src/Models/Table.cpp b/src/Models/Table.cpp
index a1063f5..db90f75 100644
--- a/src/Models/Table.cpp
+++ b/src/Models/Table.cpp
@@ -146,7 +146,7 @@ void Table::putCell(unsigned row, unsigned col, const char* rawValue) {
while (*rawValue == ' ') rawValue++;
if (*rawValue == '"') {
- rawValue++;
+ String temp(rawValue);
newCell = (*rawValue == '=')
? (Cell*)new CellFormula(rawValue, &cells)
: (Cell*)new CellString(rawValue);