summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-11-10 17:34:31 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2018-11-10 23:11:28 +0100
commitafbfe42e63cdba1a18c292d7eb4875009b0f19c0 (patch)
tree4d4feec02830008c898cc1cd4eff768f26efda84 /i18npool
parent41b09c0ed154aed0caf325a1ab0b7f7ffa688a35 (diff)
clang-tidy: (WIP) bugprone-too-small-loop-variable findings 2
Change-Id: I1ddf3fe0e5fad265ae14712a23469b684253079d Reviewed-on: https://gerrit.libreoffice.org/63241 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/textconversion/textconversion_ko.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx
index 0e0a9bdcd6fa..15fe63f2f05b 100644
--- a/i18npool/source/textconversion/textconversion_ko.cxx
+++ b/i18npool/source/textconversion/textconversion_ko.cxx
@@ -99,7 +99,7 @@ static sal_Int16 checkScriptType(sal_Unicode c)
};
UBlockCode block=ublock_getCode(static_cast<sal_uInt32>(c));
- sal_uInt16 i;
+ size_t i;
for ( i = 0; i < SAL_N_ELEMENTS(scriptList); i++) {
if (block <= scriptList[i].to) break;
}