QTBF: fix the mandatory line breaks not being set in some cases
authorKonstantin Ritt <ritt.ks@gmail.com>
Tue, 29 May 2012 02:38:28 +0000 (05:38 +0300)
committerQt by Nokia <qt-info@nokia.com>
Tue, 29 May 2012 23:54:45 +0000 (01:54 +0200)
commita9b30841b91736790600256b5db906cb2131ed63
tree65fc6798b3355a3c3bd612bbad24b0446c2a3f36
parent32c39330ef3b7a7adc00ab955549ab3a4742352c
QTBF: fix the mandatory line breaks not being set in some cases

e.g. for the text "Aaa bbb ccc.\r\nDdd eee fff." the \r\n wasn't treated
as a hard line break or as a line break opportunity, ever.
Quite ancient bug...

Change-Id: I8d8497c55a3a4d51c27de99ccfe1e31f3bf4de77
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/corelib/tools/qunicodetools.cpp