summaryrefslogtreecommitdiff
path: root/sal/qa/rtl/process/rtl_Process.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/rtl/process/rtl_Process.cxx')
-rw-r--r--sal/qa/rtl/process/rtl_Process.cxx14
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(