diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-02-15 17:50:38 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-02-17 13:33:00 (GMT) |
commit | 8a74c5112aa81c5638b14d8b5285e6ef8474a195 (patch) | |
tree | a6cceb01c8163f195c82586f9850cdefdfdffc2c /tests/auto/qlocale | |
parent | 049cc0e6717f684453d40f78e9ec0e9093df2c1d (diff) | |
download | Qt-8a74c5112aa81c5638b14d8b5285e6ef8474a195.zip Qt-8a74c5112aa81c5638b14d8b5285e6ef8474a195.tar.gz Qt-8a74c5112aa81c5638b14d8b5285e6ef8474a195.tar.bz2 |
Fixed QString creation for certain cases in QLocale
If the data that was requested is missing from CLDR, then we do not need
to try to create QString out of empty data, but return a shared_empty
QString instead.
i.e.
QString::fromRawData(data, 0/*length==0*/) - instead of doing that just
return a default constructed QString.
Reviewed-by: Zeno Albisser
Diffstat (limited to 'tests/auto/qlocale')
0 files changed, 0 insertions, 0 deletions