summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2018-10-31 17:20:46 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2018-11-01 13:02:26 +0100
commit26ccd00bc96c585b7065af0dcce246b5bfaae5e1 (patch)
tree960e163c0041c813e10f567995d648dc9332449d /lotuswordpro
parent0610c4439edf95b4cc4e16ee625b60ba606f7528 (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 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpnumericfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx
index 313c3c3d275e..e70ae6d04208 100644
--- a/lotuswordpro/source/filter/lwpnumericfmt.cxx
+++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx
@@ -371,7 +371,7 @@ OUString LwpNumericFormat::reencode(const OUString& sCode)
const sal_Unicode * pString = sCode.getStr();
sal_uInt16 nLen = sCode.getLength();
bool bFound = false;
- sal_uInt16 i;
+ sal_Int32 i;
std::unique_ptr<sal_Unicode[]> pBuff( new sal_Unicode[sCode.getLength()] );
for (i=0; i< sCode.getLength() - 1; i++)