Fix Issue 14: Add all the <xf>s to the internal list

This commit is contained in:
Debao Zhang
2013-12-24 09:05:09 +08:00
parent 11e8d7c48a
commit 9067bbfcb2
+1 -1
View File
@@ -183,7 +183,7 @@ void Styles::addXfFormat(const Format &format, bool force)
{
if (format.isEmpty()) {
//Try do something for empty Format.
if (m_emptyFormatAdded)
if (m_emptyFormatAdded && !force)
return;
m_emptyFormatAdded = true;
}