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

Justin L <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor
           Priority|medium                      |low
           Hardware|x86-64 (AMD64)              |All
                 OS|Windows (All)               |All

--- Comment #9 from Justin L <[email protected]> ---
There is a very limited set of conditions under which this bug surfaces. It
only fails when replacing with NOTHING and doing a forward search.

Note: a replace-all ALWAYS does a forward search. The "Replace backwards"
checkbox only applies to the "Replace" button.

Best location is sw/source/core/crsr/findtxt.cxx DoFind:
    if (bRegExp && !bReplaced)
        ((&fnMoveForward == &fnMove) ? &GoNextPara : &GoPrevPara)
    else
        rCursor.Start()->SetContent(nSttCnt);

Hacky solution at https://gerrit.libreoffice.org/c/core/+/191251

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to