summaryrefslogtreecommitdiff
path: root/jvmfwk
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-10-30 21:35:01 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-30 21:35:01 +0100
commitd924b0a08a9fc6b853e8ace60e4a269b696156fe (patch)
tree484d0448716228ee903fafe4063ff1e7f02dc146 /jvmfwk
parentce5350816627f1eb0672c4b2ec9ca7f6cc611edf (diff)
Use RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'jvmfwk')
-rw-r--r--jvmfwk/source/fwkutil.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx
index ddf2ae76e..eee75cd8d 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);