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

            Bug ID: 172849
           Summary: Replace all shows more replaced items than there are
                    when in end of paragraph
           Product: LibreOffice
           Version: 27.2.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 207775
  --> https://bugs.documentfoundation.org/attachment.cgi?id=207775&action=edit
bug doc

When using replace all with items that end in an of of paragraph, the counter
of replaced items shows more than there is items replace


Steps to reproduce:
- open attachment "duplicate replace all result count.odt"
- open Search and Replace All dialog (ctlr H)
- Search:
  Attribute Italic
- Replace:
  Attribute Bold
- Press on "Replace all"

Result:
"Search key replaced 2 times"

Expected result:
"Search key replaced 1 times"


Regression after commit 4e5b7bcf47897c9210006e9e13c0fc8d8a2730c4
Author: Justin Luth <[email protected]> on Sat Jul 18 03:48:19 2026 +0200
    tdf#170728 sw findattr: don't ReplaceAll with default attributes
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/208233


Version: 27.2.0.0.alpha0+ (X86_64)
Build ID: 4e5b7bcf47897c9210006e9e13c0fc8d8a2730c4
CPU threads: 8; OS: Linux 7.0; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded

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

Reply via email to