summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-07-26 18:06:48 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-07-26 18:07:12 +0100
commit1136ca19cab8a7308a64fae510e82747bc6862cd (patch)
tree85cdb7b260242e29955223be7345ffd4f3fee7f0 /i18npool
parent69835e7305564091550b33f22bc546ae65174d6c (diff)
random SAL_N_ELEMENTS cleanup
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/isolang/isolang.cxx2
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;
}