diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-11-26 14:40:34 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-26 15:33:13 +0100 |
commit | b7d3c7c6a0c2562625c43e5dd1f2599a54a1d43e (patch) | |
tree | de1e9ab4bc17c7075667bfe466acdb79cbb9c4aa /desktop | |
parent | 523a6710d0a28426f6f9747e1f401cf67b865c3a (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
(cherry picked from commit 2163ec3691ece9a00927891645190a971f775295)
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 8 |
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(); |