summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-11-26 14:40:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-11-26 14:42:09 +0100
commit2163ec3691ece9a00927891645190a971f775295 (patch)
treeee5f012be41ae62e7078d480da45daec936a590f
parentc7fa6687e544e7f9702da23aadbd31c1f2e0115e (diff)
No need to call osl_setCommandArgs
...cf. 2ad716f406e0fdb9b9294876c64ae92fecbf5e27 "Revert 'pyuno: set up fake command line in getComponentContext()'" and 54981ce9286073306513fa58405ebc7730eb6dfb "Adapt some logs and assertions." Change-Id: I15229a29a3557b0490d7876b418dd24620ee4df5
-rw-r--r--desktop/source/lib/init.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index fcef5b0a25c2..261b2f64748b 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -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();