From d924b0a08a9fc6b853e8ace60e4a269b696156fe Mon Sep 17 00:00:00 2001 From: Gert Faller Date: Sat, 30 Oct 2010 21:35:01 +0100 Subject: Use RTL_CONSTASCII_USTRINGPARAM --- jvmfwk/source/fwkutil.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jvmfwk') 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); -- cgit v1.2.3