https://bugs.documentfoundation.org/show_bug.cgi?id=148950

            Bug ID: 148950
           Summary: Libreoffice crash when trying to delete the "Standard"
                    characters style using API.
           Product: LibreOffice
           Version: 3.3.0 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to