desktop/source/lib/init.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1de82ad2fc25a6b16236034df37d48348c8c7ac5
Author: Tomaž Vajngerl <[email protected]>
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 <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
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();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits