Closed ransbotham3 closed 2 years ago
File xlsxcolor.cpp now contains literal strings in lines 125 and 134.
QColor color; QString strColor = QStringLiteral( "00000000" ); if ( c.length() == 8 ) { strColor = c; } if ( c.length() == 6 ) { strColor = QStringLiteral( "00" ) + c; }
If changed to use QStringLiteral, I think the code would compile with the QT_NO_CAST_FROM_ASCII option.
Regards
Dear @ransbotham3
Thanks for reporting.
QLatin1String is a better fit for this, I have fixed this in https://github.com/QtExcel/QXlsx/pull/176
File xlsxcolor.cpp now contains literal strings in lines 125 and 134.
If changed to use QStringLiteral, I think the code would compile with the QT_NO_CAST_FROM_ASCII option.
Regards