https://bugs.documentfoundation.org/show_bug.cgi?id=173059
Bug ID: 173059
Summary: Writer (MacOS) crashes if macro uses findAll and
nothing is found
Product: LibreOffice
Version: 25.8.7.3 release
Hardware: All
OS: macOS (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
A Macro using findAll (like the AltSearch Extension) crashes Writer on MacOS
Sequoia if nothing is found.
Tests so far:
- LibreOffice 24.8.7.2 (MacOS 15, AARCH64) => works
- LibreOffice 25.8.7.3 (MacOS 15, AARCH64) => crash
- LibreOffice 26.2.5.2 (MacOS 15, AARCH64) => crash
- LibreOffice 26.2.5.2 (Win 11, x86_64) => works
- LibreOffice 26.2.5.2 (MacOS 15, x86_64) => crash
- LibreOffice 26.8.0.2 (MacOS 15, AARCH64) => crash
My current workaround is something like:
oResults = oDoc.findFirst(oSearch)
if not isNull(oResults) then oResults = oDoc.findAll(oSearch)
--
You are receiving this mail because:
You are the assignee for the bug.