Issue 127810

Summary: Macro does not replace randomy - probably fomating bold related
Product: Writer Reporter: bubikolramios <cvenkel.miran>
Component: programmingAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P5 (lowest)    
Version: 4.1.5   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
odt, ods none

Description bubikolramios 2018-07-09 04:42:38 UTC
Created attachment 86446 [details]
odt, ods

This is not easily repeatable.

That is, I can create new odt (which uses same ods), paste same text as in attached odt, into it and macro will work.

The problem is, I have a much bigger text and tons of stuff are not replaced.
Randomly as it appears, forinstance 'fehlend' is sometimes replaced, sometimes not.

Doh attached files, as they are, repeats error as described.

How to repeat:

1.Open attached odt,enable macros,note word 'fehlend' is twice in that text
2.rum macro
3.only first occurance of 'fehlend' gets replaced, should replace both ocurances.

Basic logic of macro: find word - that is not bold, replace with another word-make that word bold to avoid repeated replace. List of word pairs in ods.

Something similar, but I think not the same:
https://bz.apache.org/ooo/show_bug.cgi?id=65268