Improve QColor <==> #AARRGGBB conversion

This commit is contained in:
Debao Zhang
2013-12-24 15:19:29 +08:00
parent cdb4646a0c
commit ca33d5e1b4
7 changed files with 25 additions and 15 deletions
@@ -93,7 +93,7 @@ void ConditionalFormattingTest::testDataBarRules()
QByteArray res = "<cfRule type=\"dataBar\" priority=\"1\">"
"<dataBar><cfvo type=\"min\" val=\"0\"/>"
"<cfvo type=\"max\" val=\"0\"/>"
"<color rgb=\"FF0000ff\"/></dataBar>"
"<color rgb=\"FF0000FF\"/></dataBar>"
"</cfRule>";
QVERIFY(buffer.buffer().contains(res));
}