stale hyphenation data after skipping blanks
commit3e88fa3cffe7eb5008f9fe7ff8fc9cbf15ce2b97
authorCaolán McNamara <caolan.mcnamara@collabora.com>
Fri, 7 Jun 2024 19:14:15 +0000 (7 20:14 +0100)
committerAndras Timar <andras.timar@collabora.com>
Sun, 9 Jun 2024 12:39:39 +0000 (9 14:39 +0200)
treec6b58b37608905d4e7ddafcaa7827f00f1939755
parenta2e40875ae6c54397a89e09c5045e792ed7be776
stale hyphenation data after skipping blanks

what I see is that after skipping blanks that the m_xHyphWord remains
describing the word at the original m_nBreakStart, but we have changed
that m_nBreakStart and m_nBreakStart is now at the next word, so the
contents of m_xHyphWord bear no relationship to the current break
position.

Change-Id: I07c91495f0cd7ef6d78c0f0d5cef70070ebb6ff2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168564
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
sw/source/core/text/guess.cxx