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

This commit is contained in:
Debao Zhang
2015-02-11 09:11:49 +08:00
parent 2ec1adc135
commit 5f42d8e6eb
+4 -3
View File
@@ -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) {