Kaydet (Commit) 73bb0fe7 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: fdo#81972 determining capitalization of >=63335 char word hangs

Change-Id: I929eb86021883852381df1edf8bf1fb2150e348d
üst 76e46a52
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment