summaryrefslogtreecommitdiff
path: root/i18npool/source/breakiterator/xdictionary.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:22:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:22:23 +0100
commit726f3ed546f5b9ac24a064e7e358138ef684b062 (patch)
treef2ec66ecede60129df7427a55426a7bd57a8a1c8 /i18npool/source/breakiterator/xdictionary.cxx
parentb6c49c46cfde21ad92cd007bdb3531ff0c4e0cb0 (diff)
More loplugin:cstylecast: i18npool
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I5ca5f27425c150f58e5ec3f2392dda43a857fc33
Diffstat (limited to 'i18npool/source/breakiterator/xdictionary.cxx')
-rw-r--r--i18npool/source/breakiterator/xdictionary.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/breakiterator/xdictionary.cxx b/i18npool/source/breakiterator/xdictionary.cxx
index 2619b350a189..5826b5cca6a8 100644
--- a/i18npool/source/breakiterator/xdictionary.cxx
+++ b/i18npool/source/breakiterator/xdictionary.cxx
@@ -364,7 +364,7 @@ WordBreakCache& xdictionary::getCache(const sal_Unicode *text, Boundary const &
while (rCache.wordboundary[i] < rCache.length) {
len = 0;
// look the continuous white space as one word and cache it
- while (u_isWhitespace((sal_uInt32)text[wordBoundary.startPos + rCache.wordboundary[i] + len]))
+ while (u_isWhitespace(static_cast<sal_uInt32>(text[wordBoundary.startPos + rCache.wordboundary[i] + len])))
len ++;
if (len == 0) {