diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-01-21 21:55:53 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-01-21 21:55:53 +0000 |
commit | 7b0123b9ea3e2f67ea8205cfd38bc5cd28225cb4 (patch) | |
tree | 0c59d944e33666b4c0c70928c0952f8ec170f222 /desktop | |
parent | f177253cd12ae5806061972de29dadca3779c813 (diff) |
android: hard-code path to 'lofficerc' in assets/
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/sofficemain.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index 8faa99f1415a..835c35824b26 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -34,6 +34,7 @@ #include "cmdlinehelp.hxx" #include <rtl/logfile.hxx> +#include <rtl/bootstrap.hxx> #include <tools/extendapplicationenvironment.hxx> int SVMain(); @@ -44,6 +45,8 @@ extern "C" int DESKTOP_DLLPUBLIC soffice_main() { #ifdef ANDROID try { + rtl::Bootstrap::setIniFilename( + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("file:///assets/program/lofficerc"))); #endif tools::extendApplicationEnvironment(); |