Skip to content

Commit

Permalink
Fix Issue 14: Add all the <xf>s to the internal list
Browse files Browse the repository at this point in the history
  • Loading branch information
dbzhang800 committed Dec 24, 2013
1 parent 11e8d7c commit 9067bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xlsx/xlsxstyles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 9067bbf

Please sign in to comment.