As you can see the .oMerge object is the Desktop and so yes I am calling
terminate on Desktop.
.oMergeSrvMgr=CreateObject("com.sun.star.ServiceManager")
.oMerge=.oMergeSrvMgr.createInstance("com.sun.star.frame.Desktop")
I will investigate the isModified property and get back to you.
I did try a 10 second delay before calling Close() method thinking like you
that perhaps it had not finished saving the document before I called close
but it made no difference.
Thanks
Simon
--
Sent from:
http://document-foundation-mail-archive.969070.n3.nabble.com/Users-f1639498.html
--
To unsubscribe e-mail to: [email protected]
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy