summaryrefslogtreecommitdiff
path: root/sal/rtl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-13 22:52:56 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-21 00:00:03 +0200
commit4066e061b4cc917abf086a04e14fe285c09ab1e2 (patch)
tree325127b41f0014fc95c064a51bb2e5f34dafd03d /sal/rtl
parenta8f19ca300794c7d270871f947838ea524bff8ed (diff)
Need the weird vnd.sun.star.pathname: prefix
Diffstat (limited to 'sal/rtl')
-rw-r--r--sal/rtl/source/bootstrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx
index 5e5292482414..dc8d02df74b3 100644
--- a/sal/rtl/source/bootstrap.cxx
+++ b/sal/rtl/source/bootstrap.cxx
@@ -401,7 +401,7 @@ Bootstrap_Impl * BootstrapMap::getBaseIni() {
// directory. Apps are self-contained anyway, there is no
// possibility to have several "applications" in the same
// installation location with different inifiles.
- const char *inifile = [[[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent: @"rc"] UTF8String];
+ const char *inifile = [[@"vnd.sun.star.pathname:" stringByAppendingString: [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent: @"rc"]] UTF8String];
uri = rtl::OUString(inifile, strlen(inifile), RTL_TEXTENCODING_UTF8);
resolvePathnameUrl(&uri);
#else