diff options
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 { |