From 9067bbfcb2b636e5d87337e83d54200cb9961ac6 Mon Sep 17 00:00:00 2001 From: Debao Zhang Date: Tue, 24 Dec 2013 09:05:09 +0800 Subject: [PATCH] Fix Issue 14: Add all the s to the internal list --- src/xlsx/xlsxstyles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xlsx/xlsxstyles.cpp b/src/xlsx/xlsxstyles.cpp index e9ca329..40e3981 100755 --- a/src/xlsx/xlsxstyles.cpp +++ b/src/xlsx/xlsxstyles.cpp @@ -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; }