LibreOffice crash when trying to delete the "Default" cells style using API. Steps to Reproduce: 1. Open a Calc document 2. Open Tools > Macros > Organize Macros > Basic... 3. Edit a module and paste following content : Sub Calc thisComponent.StyleFamilies.getByName("CellStyles").removeByName("Default") End Sub 4. run the Calc function. Actual Results: LibreOffice crash after a few seconds and the report dialog is displayed on restart. Crash report : https://crashreport.libreoffice.org/stats/crash_details/2da25305-dc74-4e8b-b1f9-1b26a7a0b503 Expected Results: LibreOffice should not crash. Reproducible: Always User Profile Reset: Yes Version: 7.1.4.2 / LibreOffice Community Build ID: a529a4fab45b75fefc5b6226684193eb000654f6 CPU threads: 16; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR Calc: threaded
*** This bug has been marked as a duplicate of bug 148949 ***