diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-10 18:31:39 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-10 18:31:39 +0100 |
commit | 3a18c3d97abfb60a09cc6a8bd5dd163fe2cfafa3 (patch) | |
tree | 02ef980b5d6440ebbacf6f8801bea9d27f62b7a5 /sal/qa/rtl/process | |
parent | 377a56fb1b9825ec5dc71ba9ae81b6e27cfabffb (diff) |
RTL_CONSTASCII_USTRINGPARAM in ure 1
Diffstat (limited to 'sal/qa/rtl/process')
-rw-r--r-- | sal/qa/rtl/process/rtl_Process.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sal/qa/rtl/process/rtl_Process.cxx b/sal/qa/rtl/process/rtl_Process.cxx index 0372551d3225..c69436467427 100644 --- a/sal/qa/rtl/process/rtl_Process.cxx +++ b/sal/qa/rtl/process/rtl_Process.cxx @@ -69,7 +69,7 @@ inline ::rtl::OUString getModulePath( void ) printUString(suDirPath, "modulePath:"); suDirPath = suDirPath.copy( 0, suDirPath.lastIndexOf('/') ); suDirPath = suDirPath.copy( 0, suDirPath.lastIndexOf('/') + 1); - suDirPath += rtl::OUString::createFromAscii("bin"); + suDirPath += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("bin")); return suDirPath; } @@ -92,9 +92,9 @@ public: void getAppCommandArg_001() { #if defined(WNT) || defined(OS2) - const rtl::OUString EXECUTABLE_NAME = rtl::OUString::createFromAscii("child_process.exe"); + const rtl::OUString EXECUTABLE_NAME(RTL_CONSTASCII_USTRINGPARAM("child_process.exe")); #else - const rtl::OUString EXECUTABLE_NAME = rtl::OUString::createFromAscii("child_process"); + const rtl::OUString EXECUTABLE_NAME(RTL_CONSTASCII_USTRINGPARAM("child_process")); #endif rtl::OUString suCWD = getModulePath(); // rtl::OUString suCWD2 = getExecutableDirectory(); @@ -113,7 +113,7 @@ public: pParameters[3] = suParam3.pData; rtl::OUString suFileURL = suCWD; - suFileURL += rtl::OUString::createFromAscii("/"); + suFileURL += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")); suFileURL += EXECUTABLE_NAME; oslProcessError osl_error = osl_executeProcess( @@ -229,9 +229,9 @@ public: void getGlobalProcessId_002() { #if defined(WNT) || defined(OS2) - const rtl::OUString EXEC_NAME = rtl::OUString::createFromAscii("child_process_id.exe"); + const rtl::OUString EXEC_NAME(RTL_CONSTASCII_USTRINGPARAM("child_process_id.exe")); #else - const rtl::OUString EXEC_NAME = rtl::OUString::createFromAscii("child_process_id"); + const rtl::OUString EXEC_NAME(RTL_CONSTASCII_USTRINGPARAM("child_process_id")); #endif sal_uInt8 pTargetUUID1[16]; rtl_getGlobalProcessId( pTargetUUID1 ); @@ -243,7 +243,7 @@ public: rtl::OUString suCWD = getModulePath(); oslProcess hProcess = NULL; rtl::OUString suFileURL = suCWD; - suFileURL += rtl::OUString::createFromAscii("/"); + suFileURL += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")); suFileURL += EXEC_NAME; oslFileHandle* pChildOutputRead = new oslFileHandle(); oslProcessError osl_error = osl_executeProcess_WithRedirectedIO( |