summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-08 17:18:53 +0200
committerJan Holesovsky <kendy@collabora.com>2014-04-08 18:11:34 +0200
commit98668cd581f9f8dc272d42580c3989ee5dee0b53 (patch)
treecce25d2c20d7780efd4925266cc7ad1469256330 /desktop
parent005976286b7b30905354d8b1b26fe3f84402d259 (diff)
liblo: We need to provide LibreOffice with fake command line args too.
Change-Id: I34f364e63f814921bfe88af7cdf4ff4cdf6745fa
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 9703699f4451..7629988f2beb 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -360,6 +360,7 @@ static int lo_initialize(LibreOffice* pThis, const char* pAppPath)
try
{
+ osl_setCommandArgs(0, NULL);
initialize_uno(aAppURL);
force_c_locale();