[PATCH] desktop: Don't call setIniFilename() for LIBO_HEADLESS

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Tue Feb 21 02:45:00 PST 2012


mmeeks suggests we don't want setIniFilename(), who am i to disagree? :)
---
 desktop/source/app/sofficemain.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
index 5ec3dd4..a6cf30e 100644
--- a/desktop/source/app/sofficemain.cxx
+++ b/desktop/source/app/sofficemain.cxx
@@ -43,7 +43,7 @@ int SVMain();
 
 extern "C" int DESKTOP_DLLPUBLIC soffice_main()
 {
-#ifdef ANDROID
+#if defined(ANDROID) || defined(LIBO_HEADLESS)
     try {
         rtl::Bootstrap::setIniFilename(
                 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///assets/program/lofficerc")));
-- 
1.7.5.4


--------------030105000506000603020107--


More information about the LibreOffice mailing list