diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-11-10 17:34:31 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-11-10 23:11:28 +0100 |
commit | afbfe42e63cdba1a18c292d7eb4875009b0f19c0 (patch) | |
tree | 4d4feec02830008c898cc1cd4eff768f26efda84 /hwpfilter | |
parent | Fix typo in comment (diff) | |
download | core-afbfe42e63cdba1a18c292d7eb4875009b0f19c0.tar.gz core-afbfe42e63cdba1a18c292d7eb4875009b0f19c0.zip |
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 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hcode.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hwpfilter/source/hcode.cxx b/hwpfilter/source/hcode.cxx index 836a39ab0d18..ed654cc097d2 100644 --- a/hwpfilter/source/hcode.cxx +++ b/hwpfilter/source/hcode.cxx @@ -565,9 +565,7 @@ static int is_jaso(hchar hh) static hchar jaso2ks(hchar hh) { - unsigned int i; - - for (i = 0; i < SAL_N_ELEMENTS(jaso_hh_code); i++) + for (size_t i = 0; i < SAL_N_ELEMENTS(jaso_hh_code); i++) if (hh == jaso_hh_code[i]) { return sal::static_int_cast<hchar>(0xa4a1 + i); |