1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-16 04:42:53 +08:00

check point 3

This commit is contained in:
Jay Two 2019-10-16 23:03:25 +09:00
parent 9c275fcf3a
commit 8706994b11

View File

@ -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;