summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:26:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:23 +0200
commit9d2a1a635c341575342a50749c3e54df0ee11f33 (patch)
treedaf480dd6c73ccfa8f86d948b5b874c2a01b8ad5 /i18npool
parent691197bff74e4a53dcb8864d0770338b9f2af402 (diff)
loplugin:simplifybool
Change-Id: I25449c2889231ca9782dea1e8b97969256e83718
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/localedata/localedata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index e49e28b754ae..ecef8a34ca92 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -1071,7 +1071,7 @@ bool SAL_CALL
LocaleDataImpl::isPhonetic( const Locale& rLocale, const OUString& algorithm ) throw(RuntimeException)
{
sal_Unicode **indexArray = getIndexArrayForAlgorithm(rLocale, algorithm);
- return (indexArray && indexArray[4][0]) ? true : false;
+ return indexArray && indexArray[4][0];
}
OUString SAL_CALL