Kaydet (Commit) dac4874e authored tarafından Riccardo Magliocchetti's avatar Riccardo Magliocchetti Kaydeden (comit) Tor Lillqvist

desktop: Don't call setIniFilename() for LIBO_HEADLESS

mmeeks suggests we don't want setIniFilename(), who am i to disagree? :)
üst e125c8fa
...@@ -43,8 +43,10 @@ int SVMain(); ...@@ -43,8 +43,10 @@ int SVMain();
extern "C" int DESKTOP_DLLPUBLIC soffice_main() extern "C" int DESKTOP_DLLPUBLIC soffice_main()
{ {
#ifdef ANDROID #if defined(ANDROID) || defined(LIBO_HEADLESS)
#if defined(ANDROID)
try { try {
#endif
rtl::Bootstrap::setIniFilename( rtl::Bootstrap::setIniFilename(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///assets/program/lofficerc"))); rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///assets/program/lofficerc")));
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment