diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-04-27 08:47:46 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-04-29 11:02:24 +0200 |
commit | d64460fffb488eb2e7b90df58d3891338bad7948 (patch) | |
tree | d6860acbef0a09fabae2f8c7b98615578a32b044 /tests/auto/qcomplextext/tst_qcomplextext.cpp | |
parent | 044e7602ae72889f363d688dbe0d73cec5f0636a (diff) |
Make sure layoutData exist before checking for string direction
Otherwise accessing that through QTextEngine::alignLine may cause crash.
Reviewed-by: Samuel Rødal
(cherry picked from commit dcdb62c3d1a76d951c4b65bc1b1bd930e2ad14ec)
Diffstat (limited to 'tests/auto/qcomplextext/tst_qcomplextext.cpp')
0 files changed, 0 insertions, 0 deletions