From 2586871390dc5a03e4cf5f4f6f5a2af182b89db0 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 21 Nov 2012 20:06:18 +0200 Subject: Use correct variable in the iOS and Android cases Change-Id: I759ea062c6a0cc1d9a2aafba502057f53596459c --- sal/rtl/source/bootstrap.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sal') 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)) -- cgit v1.2.3