diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-07-26 18:06:48 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-07-26 18:07:12 +0100 |
commit | 1136ca19cab8a7308a64fae510e82747bc6862cd (patch) | |
tree | 85cdb7b260242e29955223be7345ffd4f3fee7f0 /i18npool/source/isolang | |
parent | 69835e7305564091550b33f22bc546ae65174d6c (diff) |
random SAL_N_ELEMENTS cleanup
Diffstat (limited to 'i18npool/source/isolang')
-rw-r--r-- | i18npool/source/isolang/isolang.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/isolang/isolang.cxx b/i18npool/source/isolang/isolang.cxx index 0a1d524d2cda..5cce2af8c350 100644 --- a/i18npool/source/isolang/isolang.cxx +++ b/i18npool/source/isolang/isolang.cxx @@ -1101,7 +1101,7 @@ LanguageType MsLangId::convertUnxByteStringToLanguage( // static const MsLangId::IsoLangEntry* MsLangId::getIsoLangEntry( size_t nIndex ) { - if (nIndex < sizeof( aImplIsoLangEntries) / sizeof( IsoLangEntry)) + if (nIndex < SAL_N_ELEMENTS(aImplIsoLangEntries)) return &aImplIsoLangEntries[ nIndex]; return 0; } |