https://bugs.freedesktop.org/show_bug.cgi?id=57203

--- Comment #21 from Aurimas FiĊĦeras <[email protected]> ---
I identified the commit that caused this bug:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=81a441c695f01bb67fcf41120d5843660d7531fc

This is how it happens:
When this line
Set objServiceManager= WScript.CreateObject("com.sun.star.ServiceManager")
of the example VBScript is invoked, Windows Scripting looks in the Windows
registry, where it finds how to initiate this object:
[HKEY_CLASSES_ROOT\CLSID\{82154420-0FBF-11d4-8313-005004526AB4}\LocalServer32]
C:\Program Files\LibreOffice 3.6\program\soffice.exe --nodefault --nologo

However, when soffice.exe is finally called, its command line looks like:
"C:\Program Files\LibreOffice 3.6\program\soffice.exe" --nodefault --nologo
-Embedding

Some Windows subsystem adds an additional argument "-Embedding".

And after 81a441c695f01bb67fcf41120d5843660d7531fc LibreOffice does not
silently ignore "-Embedding", but fails with the error message.

One possible solution is to add this option to
desktop/source/app/cmdlineargs.cxx so that it can be silently ignored again.

-- 
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

Reply via email to