Kaydet (Commit) 2163ec36 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No need to call osl_setCommandArgs

...cf. 2ad716f4 "Revert 'pyuno: set up fake
command line in getComponentContext()'" and
54981ce9 "Adapt some logs and assertions."

Change-Id: I15229a29a3557b0490d7876b418dd24620ee4df5
üst c7fa6687
......@@ -666,14 +666,6 @@ static int lo_initialize(LibreOfficeKit* pThis, const char* pAppPath)
try
{
// If we've set up the command args elsewhere then we cannot do it
// again (as an assert will fire), this will be the case e.g.
// for unit tests (and possibly if UNO is being used in addition
// to LOK in an external program).
if (!osl_areCommandArgsSet())
{
osl_setCommandArgs(0, NULL);
}
initialize_uno(aAppURL);
force_c_locale();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment