Issue #77 : Fix one number format related bug. Thanks antipro
This commit is contained in:
@@ -168,11 +168,12 @@ void Styles::fixNumFmt(const Format &format)
|
|||||||
bool find=false;
|
bool find=false;
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
it.next();
|
it.next();
|
||||||
if (it.value() == id)
|
if (it.value() == id) {
|
||||||
const_cast<Format *>(&format)->fixNumberFormat(id, it.key());
|
const_cast<Format *>(&format)->fixNumberFormat(id, it.key());
|
||||||
find = true;
|
find = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!find) {
|
if (!find) {
|
||||||
//Wrong numFmt
|
//Wrong numFmt
|
||||||
|
|||||||
Reference in New Issue
Block a user