Browse Source

Issue #77 : Fix one number format related bug. Thanks antipro

master
Debao Zhang 10 years ago
parent
commit
5f42d8e6eb
  1. 7
      src/xlsx/xlsxstyles.cpp

7
src/xlsx/xlsxstyles.cpp

@ -168,10 +168,11 @@ void Styles::fixNumFmt(const Format &format)
bool find=false;
while (it.hasNext()) {
it.next();
if (it.value() == id)
if (it.value() == id) {
const_cast<Format *>(&format)->fixNumberFormat(id, it.key());
find = true;
break;
find = true;
break;
}
}
if (!find) {

Loading…
Cancel
Save