diff options
author | Ritt Konstantin <ritt.ks@gmail.com> | 2011-07-22 11:16:41 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-22 11:16:41 (GMT) |
commit | 8ed1f02c0ca4626ddb2e9262aad4459ff3474630 (patch) | |
tree | 4711e9ba5a898fb83f912d20e65e825e10ab312e /tests/auto/qimagereader | |
parent | d1f25aad71725b66ddcac52d84999d592ad4d132 (diff) | |
download | Qt-8ed1f02c0ca4626ddb2e9262aad4459ff3474630.zip Qt-8ed1f02c0ca4626ddb2e9262aad4459ff3474630.tar.gz Qt-8ed1f02c0ca4626ddb2e9262aad4459ff3474630.tar.bz2 |
optimize QRawFont::supportsCharacter()
a single UCS-4-encoded codepoint could morph into 1 or 2 UCS-2-encoded codepoints only;
thus, allocating QString just to parse it could be avoided and the well-defined
UCS-4 to UCS-2 arithmetic could be used instead
Merge-request: 1305
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'tests/auto/qimagereader')
0 files changed, 0 insertions, 0 deletions