diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2012-04-23 07:00:28 +0300 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-25 01:57:04 +0200 |
commit | 5e66c35a2379099cc1ec668efc766272bc097dad (patch) | |
tree | 57f07497820a140d767a9d4221797089144bad85 /src/testlib/qtestassert.h | |
parent | 6fb0110f972b8d9de22c7c06246b68bd7b6ebe50 (diff) |
optimize QChar::decomposition()
* by not using QString::fromUtf16() as we know for sure that
the data is 'raw' UCS-2;
* it's safe to avoid a check for > UNICODE_LAST_CODEPOINT
as GET_DECOMPOSITION_INDEX macro already does a similar check
Change-Id: Ifb660efc51c664d06733ac8ed46d54278520da06
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/testlib/qtestassert.h')
0 files changed, 0 insertions, 0 deletions