diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-30 16:12:54 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2012-05-30 16:41:40 -0500 |
commit | d79705d1dfea05745494cc00c5963f4b40628393 (patch) | |
tree | 90ef09975af890e036ab9d357db3a9367e0f6254 /jvmfwk | |
parent | 1488171272e5e9d11f751482e3e372e5db58418b (diff) |
targeted string re-work
Change-Id: I31c752d044774cf4cec4aaab9bb2e43570d41953
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/fwkutil.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx index 670898cc65a7..a3976bfe017b 100644 --- a/jvmfwk/source/fwkutil.cxx +++ b/jvmfwk/source/fwkutil.cxx @@ -69,7 +69,7 @@ bool isAccessibilitySupportDesired() { OUString sValue; if ((sal_True == ::rtl::Bootstrap::get( - OUString(RTL_CONSTASCII_USTRINGPARAM("JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY")), sValue)) && sValue == "1" + OUString("JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY"), sValue)) && sValue == "1" ) return false; @@ -260,7 +260,7 @@ rtl::OUString findPlugin( } rtl::OUString retVal; rtl::OUString sProgDir = getExecutableDirectory(); - sUrl = sProgDir + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) + sUrl = sProgDir + rtl::OUString("/") + plugin; jfw::FileStatus s = checkFileURL(sUrl); if (s == jfw::FILE_INVALID || s == jfw::FILE_DOES_NOT_EXIST) @@ -272,11 +272,11 @@ rtl::OUString findPlugin( rtl::OUString url; #ifdef UNX #if defined(MACOSX) - rtl::OUString path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DYLD_LIBRARY_PATH")); + rtl::OUString path = rtl::OUString("DYLD_LIBRARY_PATH"); #elif defined(AIX) - rtl::OUString path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LIBPATH")); + rtl::OUString path = rtl::OUString("LIBPATH"); #else - rtl::OUString path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LD_LIBRARY_PATH")); + rtl::OUString path = rtl::OUString("LD_LIBRARY_PATH"); #endif rtl::OUString env_path; oslProcessError err = osl_getEnvironment(path.pData, &env_path.pData); |