https://bugs.documentfoundation.org/show_bug.cgi?id=95952
Bug ID: 95952
Summary: LibreOffice crashes when accessing empty clipboard
through a simple macro
Product: LibreOffice
Version: 5.0.3.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
LibreOffice 5.0.2.3 crashes on Windows when executing this simple macro (which
purpose is to get and manipulate the clipboard content):
Sub Main
Dim oClip as Variant, oClipContents as Variant, oTypes as Variant
oClip = createUnoService(
"com.sun.star.datatransfer.clipboard.SystemClipboard" )
oClipContents = oClip.getContents()
oTypes = oClipContents.getTransferDataFlavors()
End Sub
*and* when the clipboard is empty.
To reproduce:
1. reboot Windows to be sure the clipboard is empty and to be in a safe state
2. lauch Writer and execute the macro
3. you should expect a crash, immediately or after a few seconds, or when
pressing a key
If the clipboard is not empty at step 2, then there is no crash.
On Linux (Ubuntu 15.10), there is no crash even when the clipboard is empty.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs