[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - desktop/source
Tomaž Vajngerl
tomaz.vajngerl at collabora.com
Wed Apr 9 03:07:39 PDT 2014
desktop/source/lib/init.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1de82ad2fc25a6b16236034df37d48348c8c7ac5
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.com>
Date: Tue Apr 8 17:18:53 2014 +0200
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 9f65dd7..204d39b 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();
More information about the Libreoffice-commits
mailing list