https://bugs.documentfoundation.org/show_bug.cgi?id=136237
Bug ID: 136237
Summary: LibreOffice Will Not Close
Product: LibreOffice
Version: 7.0.0.3 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: [email protected]
Reporter: [email protected]
I often use Libre Office with Visual FoxPro 9 via automation on Windows Server
2019 Std. When I open Libre Office Writer from VFP using code as shown below.
I am unable to close Libre Office by clicking the X in the top right window or
by selecting Quit from the file menu. I can close the document but not Libre
Office. However, the exact same code is used with Libre Office 6.4 and works
just fine as I can close the application.
oMergeSrvMgr=CreateObject("com.sun.star.ServiceManager")
oMerge=.oMergeSrvMgr.createInstance("com.sun.star.frame.Desktop")
laArgs(1)=oMergeSrvMgr.Bridge_GetStruct("com.sun.star.beans.PropertyValue")
laArgs(1).Name="ReadOnly"
laArgs(1).Value=.N.
laArgs(2)=oMergeSrvMgr.Bridge_GetStruct("com.sun.star.beans.PropertyValue")
laArgs(2).Name="Hidden"
laArgs(2).Value=.T.
ComArray(oMerge,10) && convert VFP arrays to COM compatible array
oMergeDoc=oMerge.loadComponentFromURL(ConvertToURL(tcFile),"_blank",0,@laArgs)
oMergeDoc.getCurrentController().getFrame().getContainerWindow().setVisible(tlVisible)
Thanks,
Simon
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs