summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-11-21 20:06:18 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-11-21 20:06:33 +0200
commit2586871390dc5a03e4cf5f4f6f5a2af182b89db0 (patch)
treefc80a79c4b6fc3905660e9473c8def37bb33a859 /sal
parent37ca44e4a95c80d9ebc828fc451a5eba6db57d3f (diff)
Use correct variable in the iOS and Android cases
Change-Id: I759ea062c6a0cc1d9a2aafba502057f53596459c
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/source/bootstrap.cxx8
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))