diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-02-16 22:14:27 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-02-16 22:32:52 +0100 |
commit | ddadc1ee95c09eaadb0a1d01e234952b8581694c (patch) | |
tree | 0f125cf63512587b81747302fd8ab864986bfc6e /include/sfx2/genlink.hxx | |
parent | 5a1fe97d70ca7c89ef74c05fd52783c9f54caf08 (diff) |
tdf#80715: fix infinite loop in find-and-replace if SwTxtNode full
In a regex searching for "$" to remove the paragraph break, sw_JoinText()
may fail to join the nodes because the maximum size is reached; in this
case the cursor has to be moved to the next node, otherwise the search
will be stuck on that node forever.
This would fix the problem in LO 4.2 but it's actually rather harder to
trigger in 4.3+ because the 16-bit size limit of SwTxtNodes is gone.
(regression from b60ce8465c8f01242354abccebe00742d164af60)
Change-Id: Ie047cad37835adf95afe0d12b94a16ff4aecb17a
Diffstat (limited to 'include/sfx2/genlink.hxx')
0 files changed, 0 insertions, 0 deletions