diff options
author | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-10-31 17:20:46 +0100 |
---|---|---|
committer | Tamás Zolnai <tamas.zolnai@collabora.com> | 2018-11-01 13:02:26 +0100 |
commit | 26ccd00bc96c585b7065af0dcce246b5bfaae5e1 (patch) | |
tree | 960e163c0041c813e10f567995d648dc9332449d /filter/source/msfilter/escherex.cxx | |
parent | 0610c4439edf95b4cc4e16ee625b60ba606f7528 (diff) |
clang-tidy: (WIP) bugprone-too-small-loop-variable findings
Change-Id: Iaa255b39928ac45dec1ed37e368c149d6027f561
Reviewed-on: https://gerrit.libreoffice.org/62701
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'filter/source/msfilter/escherex.cxx')
-rw-r--r-- | filter/source/msfilter/escherex.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx index 03e69c96c716..c158129fb6a5 100644 --- a/filter/source/msfilter/escherex.cxx +++ b/filter/source/msfilter/escherex.cxx @@ -4577,7 +4577,8 @@ sal_uInt32 EscherConnectorListEntry::GetConnectorRule( bool bFirst ) if(0 != aPolyPoly.Count()) { - sal_Int16 a, b, nIndex = 0; + sal_Int16 nIndex = 0; + sal_uInt16 a, b; sal_uInt32 nDistance = 0xffffffff; for ( a = 0; a < aPolyPoly.Count(); a++ ) |