diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-02-03 15:47:53 +0100 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-02-04 18:04:15 +0100 |
commit | 57853ab7ace0ccc2c2953d7153fdce8d1be3c20d (patch) | |
tree | cdb4e4114013ecd686a3cf1c38d37f5396adc616 /desktop/source | |
parent | a66950bb99069d5133ce28b48816148cc10b15d6 (diff) |
For iOS we already hardocde the inifile as rc in the .app directory
Change-Id: I5971aa4db91adc89f8aeeb7384a1893dab329411
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/lib/init.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 498ef803f5ea..c79db3b5e460 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -711,7 +711,12 @@ static void aBasicErrorFunc(const OUString& rError, const OUString& rAction) static bool initialize_uno(const OUString& aAppProgramURL) { +#ifdef IOS + // For iOS we already hardocde the inifile as "rc" in the .app directory. + (void) aAppProgramURL; +#else rtl::Bootstrap::setIniFilename(aAppProgramURL + "/" SAL_CONFIGFILE("soffice")); +#endif xContext = cppu::defaultBootstrap_InitialComponentContext(); if (!xContext.is()) |