Browse Source

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

master
Debao Zhang 11 years ago
parent
commit
9067bbfcb2
  1. 2
      src/xlsx/xlsxstyles.cpp

2
src/xlsx/xlsxstyles.cpp

@ -183,7 +183,7 @@ void Styles::addXfFormat(const Format &format, bool force)
{ {
if (format.isEmpty()) { if (format.isEmpty()) {
//Try do something for empty Format. //Try do something for empty Format.
if (m_emptyFormatAdded) if (m_emptyFormatAdded && !force)
return; return;
m_emptyFormatAdded = true; m_emptyFormatAdded = true;
} }

Loading…
Cancel
Save