https://bugs.documentfoundation.org/show_bug.cgi?id=99672
Bug ID: 99672
Summary: Replace All with format in search and empty replace
text does not replace.
Product: LibreOffice
Version: 5.1.2.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
In the Find & Replace Dialog a Replace All with an empty replace text does not
function if the search criterium contains a Format.
To reproduce:
1. Open a new Writer document
2. Enter some text and sprinkle the word "test" a couple of times in it.
3. Give (some of) the words "test" a font color, e.g. Red.
4. Open the Replace & Find dialog.
5. In the find text field enter "test" (without the quotes). Leave the
replacement text empty.
6. Click Other Options > Format > Font Effects > Font color and select Red
7. Click Replace All.
The dialog answers with "Search key replaced xx times." but in reality the
texts are not replaced.
Replace All does work if no format is selected, and/or if the replacement text
is not empty.
It also fails if other formats are selected, e.g. Font.
An easy workaround is to click "find All" and then delete the selected text,
but the Replace All should also work.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs