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.magliocchetti@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
Context
- [PATCH] desktop: Don't call setIniFilename() for LIBO_HEADLESS · Riccardo Magliocchetti
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.