diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx | 4 | ||||
-rw-r--r-- | sal/qa/rtl/uri/rtl_testuri.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx index 55353039144f..281ba2ce4a75 100644 --- a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx +++ b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx @@ -694,7 +694,7 @@ namespace rtl_Bootstrap void testSection() { rtl::OUStringBuffer b; - b.appendAscii(RTL_CONSTASCII_STRINGPARAM("${")); + b.append("${"); rtl::OUString p(t_getSourcePath(TESTSHL2_INI)); for (sal_Int32 i = 0; i < p.getLength(); ++i) { if (p[i] != 'u') { @@ -702,7 +702,7 @@ namespace rtl_Bootstrap } b.append(p[i]); } - b.appendAscii(RTL_CONSTASCII_STRINGPARAM(":Other_Section:EXPAND}")); + b.append(":Other_Section:EXPAND}"); rtl::OUString t(b.makeStringAndClear()); Bootstrap(t_getSourcePath(TESTSHL2_INI)).expandMacrosFrom(t); CPPUNIT_ASSERT_MESSAGE( "section expansion", t == "$FILE" ); diff --git a/sal/qa/rtl/uri/rtl_testuri.cxx b/sal/qa/rtl/uri/rtl_testuri.cxx index 5fee79175209..ad660993fc22 100644 --- a/sal/qa/rtl/uri/rtl_testuri.cxx +++ b/sal/qa/rtl/uri/rtl_testuri.cxx @@ -226,10 +226,10 @@ void Test::test_Uri() { aText1 = rtl::OUString( "%ed%a0%80" "%f0%90%8f%bf" "%ed%bf%bf" "A"); - aBuffer.appendAscii(RTL_CONSTASCII_STRINGPARAM("%ED%A0%80")); + aBuffer.append("%ED%A0%80"); aBuffer.append(static_cast< sal_Unicode >(0xD800)); aBuffer.append(static_cast< sal_Unicode >(0xDFFF)); - aBuffer.appendAscii(RTL_CONSTASCII_STRINGPARAM("%ED%BF%BF")); + aBuffer.append("%ED%BF%BF"); aBuffer.append(static_cast< sal_Unicode >('A')); aText2 = aBuffer.makeStringAndClear(); CPPUNIT_ASSERT_MESSAGE( @@ -267,7 +267,7 @@ void Test::test_Uri() { // Check IURI handling: aText1 = rtl::OUString("%30%C3%BF"); - aBuffer.appendAscii(RTL_CONSTASCII_STRINGPARAM("%30")); + aBuffer.append("%30"); aBuffer.append(static_cast< sal_Unicode >(0x00FF)); aText2 = aBuffer.makeStringAndClear(); CPPUNIT_ASSERT_MESSAGE( |