[Libreoffice-bugs] [Bug 137737] REPLACE not working if there is a footnote or endnote anchor at end of paragraph

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 26 09:20:58 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=137737

--- Comment #18 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Mike Kaganski from comment #17)

It's even more complicated. After doing the ReplaceBackReferences,
SwView::ExecSearch also does SwView::Replace, which again calls DoSearch
(indirectly), but now passes nStart = nEnd = 139. In this case, lcl_CleanStr in
it does not replace anything (because the anchors are outside of the start-end
range). Trying to outsmart ourselves. Fun.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210826/18956083/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list