https://bugs.documentfoundation.org/show_bug.cgi?id=158198
Bug ID: 158198
Summary: My macro changes the bookmark text and the bookmark
disappears
Product: LibreOffice
Version: 7.5.4.2 release
Hardware: x86-64 (AMD64)
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
I have a document with bookmarks. Each bookmark has text. There is a macro that
makes the bookmark text empty. After running the macro, some bookmarks
disappear. Those bookmarks that consist of one paragraph completely disappear.
Steps to Reproduce:
1.Open document 'whereIsMyBookmark'
2.Look at the bookmarks (Insert->Bookmark)
3.Run macro 'Main'
4.Look at the bookmarks again
Actual Results:
Not only the bookmark text disappears, but also the bookmark itself
Expected Results:
The bookmark should not disappear
Reproducible: Always
User Profile Reset: No
Additional Info:
1. A bookmark whose text consists of a paragraph disappears.
2. A bookmark whose text consists of a word does not disappear. But a bookmark
created immediately without text and one created by a macro look different.
--
You are receiving this mail because:
You are the assignee for the bug.