summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-05-23 10:09:18 +0100
committerTor Lillqvist <tml@collabora.com>2015-05-23 10:11:09 +0100
commita1aa2cdaa7c467376c1f7824e2b6a83cb252a39a (patch)
tree8bf70412169523912767f45d0dffb604cdd51767 /desktop/source
parent5814148eaebc5e443722376480b8c56e15597a0e (diff)
Look for libsofficeapp.dylib in the right place on OS X
Change-Id: Icef6b70081b15d4b8d99eb4ba7103f059e8d00e4
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 00d0976f0485..3ca2744b0f59 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -845,6 +845,8 @@ static bool initialize_uno(const OUString& aAppProgramURL)
#ifdef IOS
// For iOS we already hardocde the inifile as "rc" in the .app directory.
(void) aAppProgramURL;
+#elif defined MACOSX
+ rtl::Bootstrap::setIniFilename(aAppProgramURL + "/../Resources/" SAL_CONFIGFILE("soffice"));
#else
rtl::Bootstrap::setIniFilename(aAppProgramURL + "/" SAL_CONFIGFILE("soffice"));
#endif