Bugzilla – Attachment 141077 Details for
Bug 116792
Crash loadComponentFromURL close
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
VBA to crash LibreOffice
vba.txt (text/plain), 677 bytes, created by
matti.jaatinen
on 2018-04-04 11:39:03 UTC
(
hide
)
Description:
VBA to crash LibreOffice
Filename:
MIME Type:
Creator:
matti.jaatinen
Created:
2018-04-04 11:39:03 UTC
Size:
677 bytes
patch
obsolete
>Sub testia() > ' > Dim objServiceManager As Object > Dim objDesktop As Object > Dim oDocument As Object > > Dim i As Integer > Dim arg() > Set objServiceManager = CreateObject("com.sun.star.ServiceManager") > Set objDesktop = objServiceManager.CreateInstance("com.sun.star.frame.Desktop") > ' Set propval(0) = prop > For i = 0 To 50 > > Set oDocument = objDesktop.loadComponentFromURL("private:factory/scalc", "_blank", 0, arg()) > 'Set oDocument = objDesktop.loadComponentFromURL("file:///O:\NDes\Lomakepojat\KJ_kojeistojen_testaustod_fin.ott", "_blank", 0, propval) > > oDocument.Close (False) >' Set oDocument = Nothing > Next i > > >End Sub
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 116792
:
141076
| 141077