diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-21 20:06:18 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-21 20:06:33 +0200 |
commit | 2586871390dc5a03e4cf5f4f6f5a2af182b89db0 (patch) | |
tree | fc80a79c4b6fc3905660e9473c8def37bb33a859 /sal/rtl | |
parent | This function should obviously be exported for it to be callable (diff) | |
download | core-2586871390dc5a03e4cf5f4f6f5a2af182b89db0.tar.gz core-2586871390dc5a03e4cf5f4f6f5a2af182b89db0.zip |
Use correct variable in the iOS and Android cases
Change-Id: I759ea062c6a0cc1d9a2aafba502057f53596459c
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/source/bootstrap.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx index e686f1e003a1..4d9f19090bdf 100644 --- a/sal/rtl/source/bootstrap.cxx +++ b/sal/rtl/source/bootstrap.cxx @@ -258,14 +258,14 @@ static OUString & getIniFileName_Impl() // possibility to have several "applications" in the same // installation location with different inifiles. 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); + fileName = rtl::OUString(inifile, strlen(inifile), RTL_TEXTENCODING_UTF8); + resolvePathnameUrl(&fileName); #elif defined ANDROID // Apps are self-contained on Android, too, can as well hardcode // it as "rc" in the "/assets" directory, i.e. inside the app's // .apk (zip) archive as the /assets/rc file. - uri = rtl::OUString("vnd.sun.star.pathname:/assets/rc"); - resolvePathnameUrl(&uri); + fileName = rtl::OUString("vnd.sun.star.pathname:/assets/rc"); + resolvePathnameUrl(&fileName); #else if(getFromCommandLineArgs( OUString(RTL_CONSTASCII_USTRINGPARAM("INIFILENAME")), &fileName)) |