summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-04-08 17:18:53 +0200
committerCaolán McNamara <caolanm@redhat.com>2014-04-09 10:07:12 +0000
commit1de82ad2fc25a6b16236034df37d48348c8c7ac5 (patch)
tree4267aa771b09923e77121e1407fce0b20355ee8d /desktop
parent972d8d87e46a0b3be651240261952fe428e2e3e2 (diff)
liblo: We need to provide LibreOffice with fake command line args too.
Change-Id: I34f364e63f814921bfe88af7cdf4ff4cdf6745fa Reviewed-on: https://gerrit.libreoffice.org/8894 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
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 9f65dd74881f..204d39ba497d 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -361,6 +361,7 @@ lo_initialize( LibreOffice *pThis, const char *app_path )
return 0;
try {
+ osl_setCommandArgs(0, NULL);
initialize_uno( aAppURL );
force_c_locale();