Hello, mmeeks suggests we don't want setIniFilename(), who am i to disagree? :)
For now avoid to catch uno exceptions, will probably change opinion when i'll see them.
thanks -- Riccardo Magliocchetti
>From a082222e56e1d0db3a48cad8c7566370410b6287 Mon Sep 17 00:00:00 2001 From: Riccardo Magliocchetti <riccardo.magliocche...@gmail.com> Date: Tue, 21 Feb 2012 11:45:00 +0100 Subject: [PATCH] desktop: Don't call setIniFilename() for LIBO_HEADLESS 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
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice