linguistic/source/misc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 73bb0fe7953f501747fb6b7c315beda4f253a216
Author: Caolán McNamara <caol...@redhat.com>
Date:   Tue Aug 12 10:24:06 2014 +0100

    Resolves: fdo#81972 determining capitalization of >=63335 char word hangs
    
    Change-Id: I929eb86021883852381df1edf8bf1fb2150e348d

diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx
index c1cede4..db7d030 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++;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to