summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/localedata.cxx4
-rw-r--r--i18npool/source/transliteration/transliterationImpl.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 4a349d4b30db..2a344cfdd2fe 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -1194,7 +1194,7 @@ LocaleDataImpl::getBreakIteratorRules( const Locale& rLocale )
sal_Int16 LCBreakIteratorRuleCount = 0;
sal_Unicode **LCBreakIteratorRulesArray = func(LCBreakIteratorRuleCount);
Sequence< OUString > seq(LCBreakIteratorRuleCount);
- for(int i = 0; i < (LCBreakIteratorRuleCount); i++) {
+ for(int i = 0; i < LCBreakIteratorRuleCount; i++) {
OUString elem(LCBreakIteratorRulesArray[i]);
seq[i] = elem;
}
@@ -1216,7 +1216,7 @@ LocaleDataImpl::getReservedWord( const Locale& rLocale )
sal_Int16 LCReservedWordsCount = 0;
sal_Unicode **LCReservedWordsArray = func(LCReservedWordsCount);
Sequence< OUString > seq(LCReservedWordsCount);
- for(int i = 0; i < (LCReservedWordsCount); i++) {
+ for(int i = 0; i < LCReservedWordsCount; i++) {
OUString elem(LCReservedWordsArray[i]);
seq[i] = elem;
}
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx
index eccc2088b7de..7b5478186671 100644
--- a/i18npool/source/transliteration/transliterationImpl.cxx
+++ b/i18npool/source/transliteration/transliterationImpl.cxx
@@ -281,7 +281,7 @@ TransliterationImpl::getAvailableModules( const Locale& rLocale, sal_Int16 sType
}
}
r.realloc(n);
- return (r);
+ return r;
}