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

            Bug ID: 152520
           Summary: Crash: if macro uses module TITLE_CASE or
                    SENTENCE_CASE in Transliteration module
           Product: LibreOffice
           Version: 7.5.0.0 alpha1+
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Keywords: regression
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Run this macro and Libre will crash.

Sub transliterationCrash
        dim oTr as object, s$, oLoc as new com.sun.star.lang.Locale
        with oLoc
                .Country="US"
                .Language="en"
                .Variant=""
        end with
        oTr=CreateUnoService("com.sun.star.i18n.Transliteration")
        'xray oTr.getAvailableModules(oLoc, 1) 'names of modules
        oTr.LoadModuleByImplName("SENTENCE_CASE", oLoc) 'CRASH for: TITLE_CASE,
SENTENCE_CASE
                'OK for: LOWERCASE_UPPERCASE, UPPERCASE_LOWERCASE, TOGGLE_CASE,
IGNORE_CASE
        s="AB cd. eF. "
        msgbox oTr.transliterateString2String( s, 0, Len(s) ) 'crash is here
End Sub

Crash:
Version: 7.5.0.0.alpha1 (X86_64) / LibreOffice Community
Build ID: 2b4d136b65bc79a1248876160e85fab79d52d5d6
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: CL threaded

Version: 7.4.1.2 (x64) / LibreOffice Community
Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0
CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: CL


OK in:
Version: 7.2.4.1 (x64) / LibreOffice Community
Build ID: 27d75539669ac387bb498e35313b970b7fe9c4f9
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render:
Skia/Raster; VCL: win
Locale: cs-CZ (cs_CZ); UI: cs-CZ
Calc: CL

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

Reply via email to