From 8706994b116f7c0ce08fa28f4a03760e75306726 Mon Sep 17 00:00:00 2001 From: Jay Two Date: Wed, 16 Oct 2019 23:03:25 +0900 Subject: [PATCH] check point 3 --- QXlsx/source/xlsxworksheet.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QXlsx/source/xlsxworksheet.cpp b/QXlsx/source/xlsxworksheet.cpp index 15254a7..9147039 100644 --- a/QXlsx/source/xlsxworksheet.cpp +++ b/QXlsx/source/xlsxworksheet.cpp @@ -1578,6 +1578,8 @@ void WorksheetPrivate::saveXmlCellData(QXmlStreamWriter &writer, int row, int co } else if (cell->cellType() == Cell::NumberType) // 'n' { + writer.writeAttribute(QStringLiteral("t"), QStringLiteral("n")); // dev67 + if (cell->hasFormula()) { QString strFormula = cell->formula().d->formula;