diff options
Diffstat (limited to 'hwpfilter/source/mapping.h')
-rw-r--r-- | hwpfilter/source/mapping.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/mapping.h b/hwpfilter/source/mapping.h index e8d6c0d33a7c..6a6fb8a912f4 100644 --- a/hwpfilter/source/mapping.h +++ b/hwpfilter/source/mapping.h @@ -363,7 +363,7 @@ const struct FormulaEntry FormulaMapTab[] = { #ifndef DEBUG hchar_string getMathMLEntity(const char *tex) { - static const size_t tabSize = sizeof(FormulaMapTab) / sizeof(FormulaMapTab[0]); + static const size_t tabSize = SAL_N_ELEMENTS(FormulaMapTab); hchar_string buf; for (size_t i = 0 ; i < tabSize ; i++) { |