diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-12 15:07:58 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-12 20:02:46 +0100 |
commit | 4bb28ad217ea9d6511b6921dcd3d28328edcb4d6 (patch) | |
tree | 83debe02b955c65e38b5a5006c933c1e9d3327af /sot | |
parent | e4d8c97efe620bc8ca40c29977516ea9fdb62b04 (diff) |
tdf#120677: restore treatment of blanks in SwTextGuess::Guess
Before commit 0be3db28a4db4d2c81a5cb2edd48711eec55b51b, all non-breakable
spaces were converted to plain spaces in SwTextSlot::SwTextSlot (see
pInf->SetText call there). The mentioned commit has changed that to allow
differentiating non-breakable spaces from other types of spaces (related
to the fix of tdf#115067). This broke following processing of the NBSPs
when they don't fit to line, causing infinite layout loop leading to OOM.
This allows to restore old behavior to not call the break iterator for
NBSP by explicitly checking for it.
Change-Id: I36ab06abb66bbe65a5fc542c41e816a9f20a2dcf
Reviewed-on: https://gerrit.libreoffice.org/63290
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sot')
0 files changed, 0 insertions, 0 deletions