diff options
Diffstat (limited to 'unotools/source/i18n/localedatawrapper.cxx')
-rw-r--r-- | unotools/source/i18n/localedatawrapper.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx index 87a5140d6c88..7204f66392bb 100644 --- a/unotools/source/i18n/localedatawrapper.cxx +++ b/unotools/source/i18n/localedatawrapper.cxx @@ -138,14 +138,14 @@ void LocaleDataWrapper::invalidateData() nCurrPositiveFormat = nCurrNegativeFormat = nCurrDigits = nCurrFormatInvalid; if ( bLocaleDataItemValid ) { - for (sal_Int32 j=0; j<LocaleItem::COUNT; ++j) - aLocaleItem[j].clear(); + for (OUString & j : aLocaleItem) + j.clear(); bLocaleDataItemValid = false; } if ( bReservedWordValid ) { - for ( sal_Int16 j=0; j<reservedWords::COUNT; ++j ) - aReservedWord[j].clear(); + for (OUString & j : aReservedWord) + j.clear(); bReservedWordValid = false; } xDefaultCalendar.reset(); |