[Libreoffice-bugs] [Bug 128711] Infinite Loop if I use replaceAll for Hyperlinked words in Impress
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 9 10:47:10 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=128711
rebahozkoc <rebahozkoc at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #6 from rebahozkoc <rebahozkoc at hotmail.com> ---
Yes, if I use replace dialog box to replace words I get the same result as you
get and I think this is a problem.
pages = oDoc.getDrawPages()
for selected_page in pages:
replace = selected_page.createReplaceDescriptor()
replace.setSearchString("text")
replace.setReplaceString("replace_with")
selected_page.replaceAll(replace)
If I use this code problem gets worse, the program enters to an infinite loop.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191209/95d16599/attachment.html>
More information about the Libreoffice-bugs
mailing list