diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-12 10:24:06 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-12 10:24:34 +0100 |
commit | 73bb0fe7953f501747fb6b7c315beda4f253a216 (patch) | |
tree | db799e5a51cd1c15d70ef7f86d629fa32ec7a2d7 /linguistic/source | |
parent | 76e46a52706711c11f1f62373d0db5262dd2be2f (diff) |
Resolves: fdo#81972 determining capitalization of >=63335 char word hangs
Change-Id: I929eb86021883852381df1edf8bf1fb2150e348d
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/misc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index c1cede4fceae..db7d0300121f 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -615,7 +615,7 @@ CapType SAL_CALL capitalType(const OUString& aTerm, CharClass * pCC) { OUString aStr(aTerm); sal_Int32 nc = 0; - for (sal_uInt16 tindex = 0; tindex < tlen; tindex++) + for (sal_Int32 tindex = 0; tindex < tlen; ++tindex) { if (pCC->getCharacterType(aStr,tindex) & ::com::sun::star::i18n::KCharacterType::UPPER) nc++; |