diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-10 23:43:43 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-12-10 23:43:43 +0100 |
commit | b6a70a0c13962d7c07b0af8fefca9f56e8e0b90b (patch) | |
tree | 65f833494776cbe8d5041b6dfaf73c5a6c3ecd56 /sal/workben | |
parent | 94f0cc74ad22a94fc3bcb42bcbeaf0c4457567cc (diff) |
RTL_CONSTASCII_USTRINGPARAM in ure 5
Diffstat (limited to 'sal/workben')
-rw-r--r-- | sal/workben/t_osl_getVolInfo.cxx | 12 | ||||
-rw-r--r-- | sal/workben/t_osl_joinProcess.cxx | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sal/workben/t_osl_getVolInfo.cxx b/sal/workben/t_osl_getVolInfo.cxx index 8b6e929156ae..7504cd8dfdff 100644 --- a/sal/workben/t_osl_getVolInfo.cxx +++ b/sal/workben/t_osl_getVolInfo.cxx @@ -88,28 +88,28 @@ public: void test_osl_getVolumeInformation() { - rtl::OUString path = rtl::OUString::createFromAscii(TEST_PATH_1); + rtl::OUString path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(TEST_PATH_1)); rtl::OUString path_url; osl_getFileURLFromSystemPath(path.pData, &path_url.pData); test_getVolumeInformation(path_url); - path = rtl::OUString::createFromAscii(TEST_PATH_2); + path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(TEST_PATH_2)); osl_getFileURLFromSystemPath(path.pData, &path_url.pData); test_getVolumeInformation(path_url); - path = rtl::OUString::createFromAscii(TEST_PATH_3); + path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(TEST_PATH_3)); osl_getFileURLFromSystemPath(path.pData, &path_url.pData); test_getVolumeInformation(path_url); - path = rtl::OUString::createFromAscii(TEST_PATH_4); + path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(TEST_PATH_4)); osl_getFileURLFromSystemPath(path.pData, &path_url.pData); test_getVolumeInformation(path_url); - path = rtl::OUString::createFromAscii(TEST_PATH_5); + path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(TEST_PATH_5)); osl_getFileURLFromSystemPath(path.pData, &path_url.pData); test_getVolumeInformation(path_url); - path = rtl::OUString::createFromAscii(TEST_PATH_6); + path = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(TEST_PATH_6)); osl_getFileURLFromSystemPath(path.pData, &path_url.pData); test_getVolumeInformation(path_url); } diff --git a/sal/workben/t_osl_joinProcess.cxx b/sal/workben/t_osl_joinProcess.cxx index 2202040ae673..40d19fe50c41 100644 --- a/sal/workben/t_osl_joinProcess.cxx +++ b/sal/workben/t_osl_joinProcess.cxx @@ -36,12 +36,12 @@ #include <signal.h> #ifdef WNT - const rtl::OUString IMAGE_NAME = rtl::OUString::createFromAscii("ojpx.exe"); + const rtl::OUString IMAGE_NAME(RTL_CONSTASCII_USTRINGPARAM("ojpx.exe")); #else - const rtl::OUString IMAGE_NAME = rtl::OUString::createFromAscii("ojpx"); + const rtl::OUString IMAGE_NAME(RTL_CONSTASCII_USTRINGPARAM("ojpx")); #endif -const rtl::OUString CWD = rtl::OUString::createFromAscii("."); +const rtl::OUString CWD(RTL_CONSTASCII_USTRINGPARAM(".")); class Test_osl_Process : public CppUnit::TestFixture { |