Fix a bug in the case conversion code
authorLars Knoll <lars.knoll@nokia.com>
Thu, 31 May 2012 14:43:45 +0000 (16:43 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 1 Jun 2012 11:11:50 +0000 (13:11 +0200)
commit79194978cdb8770a06648a85eddbefe9acad7b77
treea270fab1f80aba80f77c409eaeea4fc40e840f35
parent524d47b3f5653d7643635092a03b7539d59c43e3
Fix a bug in the case conversion code

Chars that have a case conversion that converts
them into several characters can't be handled
by QChar::toUpper() etc and should get ignored. The code
didn't do that correctly.

Change-Id: I281d122e90bf49187b6449088d2fccef2ef75e86
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/tools/qchar.cpp
tests/auto/corelib/tools/qchar/tst_qchar.cpp