summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/sofficemain.cxx2
-rw-r--r--scp2/source/ooo/file_library_ooo.scp2
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx
index ed22834ab75d..93081b92d8f6 100644
--- a/desktop/source/app/sofficemain.cxx
+++ b/desktop/source/app/sofficemain.cxx
@@ -43,10 +43,8 @@ int SVMain();
extern "C" int DESKTOP_DLLPUBLIC soffice_main()
{
-#if defined(ANDROID) || defined(LIBO_HEADLESS)
#if defined(ANDROID)
try {
-#endif
rtl::Bootstrap::setIniFilename(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///assets/program/lofficerc")));
#endif
diff --git a/scp2/source/ooo/file_library_ooo.scp b/scp2/source/ooo/file_library_ooo.scp
index 3b09ee24ccde..6e5ec3f02d64 100644
--- a/scp2/source/ooo/file_library_ooo.scp
+++ b/scp2/source/ooo/file_library_ooo.scp
@@ -1048,7 +1048,9 @@ End
#endif
#if defined UNX && ! defined QUARTZ
+#if ! defined LIBO_HEADLESS
STD_LIB_FILE( gid_File_Lib_Vclplug_Svp, vclplug_svp )
+#endif
STD_LIB_FILE( gid_File_Lib_BaseBmp, basebmp )
#endif