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

--- Comment #51 from [email protected] ---
For me, on:
Version: 26.2.3.2 (X86_64)
Build ID: 70e089b17412e4cb7773e41413306b17a2328c34
CPU threads: 24; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

All I had to do was:
1. create a new draw document
2. immediately select export as images

Boom.

---
Sub ShowDialog()

        REM library container
        oLibContainer = DialogLibraries
        REM load the library
        oLibContainer.loadLibrary( sLibName )
        REM get library
        oLib = oLibContainer.getByName( sLibName )
        REM get input stream provider
        oInputStreamProvider = oLib.getByName( sDialogName )
        REM create dialog control
        oDialog = CreateUnoDialog( oInputStreamProvider )
        REM show the dialog
        oDialog.Model.Step = 1
        imgType = "jpg"
        imgColor = true
        bmpExMode = 0
        StopMark = false

        dirText = oDialog.Model.getByName("dirTextField")
        nameText = oDialog.Model.getByName("nameTextField")

        oDialog.getControl("dirTextField").setText(docDir)
        oDialog.getControl("nameTextField").setText(docName)

        if oDialog.execute()=1 then
                OK
        else
                StopMark = true
        endif
End Sub

It died on the line:
        oLib = oLibContainer.getByName( sLibName )

Ditto situation when I actually created content prior to export attempt.

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

Reply via email to