diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-10-30 21:35:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-30 21:35:01 +0100 |
commit | cfa878447fd2c4c396631c6bbea86edf9888c344 (patch) | |
tree | 800e01f130a0d11c5b7575aa0444c75435cc6277 /jvmfwk | |
parent | add modelines to .h and .c files as well (diff) | |
download | core-cfa878447fd2c4c396631c6bbea86edf9888c344.tar.gz core-cfa878447fd2c4c396631c6bbea86edf9888c344.zip |
Use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'jvmfwk')
-rw-r--r-- | jvmfwk/source/fwkutil.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx index a047e0db309d..63402bef98d4 100644 --- a/jvmfwk/source/fwkutil.cxx +++ b/jvmfwk/source/fwkutil.cxx @@ -272,11 +272,11 @@ rtl::OUString findPlugin( rtl::OUString url; #ifdef UNX #if defined(MACOSX) - rtl::OUString path = rtl::OUString::createFromAscii("DYLD_LIBRARY_PATH"); + rtl::OUString path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DYLD_LIBRARY_PATH")); #elif defined(AIX) - rtl::OUString path = rtl::OUString::createFromAscii("LIBPATH"); + rtl::OUString path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LIBPATH")); #else - rtl::OUString path = rtl::OUString::createFromAscii("LD_LIBRARY_PATH"); + rtl::OUString path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LD_LIBRARY_PATH")); #endif rtl::OUString env_path; oslProcessError err = osl_getEnvironment(path.pData, &env_path.pData); |