Apache OpenOffice (AOO) Bugzilla – Issue 101825
Loop with Find and Replace in redlining mode when using "Replace All"
Last modified: 2013-08-07 14:44:00 UTC
- New writer document - Write 'redling test => OK_1' - Edit -> Changes -> Record - Edit -> Find & Replace - Seach for text = OK_1 - Replace with text = OK_2 - Click 'Replace all' - Loop This was found in automated test 'w_redlining.bas' and determined to be ok in DEV300m46
When in redlining mode, the deleted string (displayed in "striketrough") is found again when the document is re-searched from the top. That's OK. But when doing "Replace all" then a dialog "Search string replaced xyz times" should pop up and the F&R stops. Since DEV300_m47, it looks like this dialog does not pop up. therefore "Replace all" does not stop when the entire document was gone through and finds the same "deleted" string again and adds one more replacement string on every round. Set keyword "regression".
*** Issue 102093 has been marked as a duplicate of this issue. ***
Put FHA on c/c.
Fixed in cws os132 in sw/source/core/crsr/findtxt.cxx ->b_michaelsen: Has been introduced by swrefactormarks2. SwDoc::Replace() returned the result of the replacement in differen order (Point/Mark)
Reassigned for verification
Verified in CWS os132; test w_redlining.bas ran corretly on Win and Linux.
ok in current MWS DEV300m61