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

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

Description:
Libreoffice crash when trying to delete the "Standard" characters style using
API.


Steps to Reproduce:
1. Open a Writer document
2. Open Tools > Macros > Organize Macros > Basic...
3. Edit a module and paste following content : 

Sub Writer
       
thisComponent.StyleFamilies.getByName("CharacterStyles").removeByName("Standard")
End Sub

4. run the Writer function.


Actual Results:
LibreOffice crash immediately and the report dialog is displayed.

Crash report :
https://crashreport.libreoffice.org/stats/crash_details/c04c4ad2-ceab-4e7e-918b-e3a0871d295a

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