summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/qa/cppunit/test_breakiterator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx b/i18npool/qa/cppunit/test_breakiterator.cxx
index 7e99614d2f49..6777731270df 100644
--- a/i18npool/qa/cppunit/test_breakiterator.cxx
+++ b/i18npool/qa/cppunit/test_breakiterator.cxx
@@ -740,9 +740,9 @@ void TestBreakIterator::testWeak()
{
sal_Int16 nScript = m_xBreak->getScriptType(aWeaks, i);
OStringBuffer aMsg;
- aMsg.append(RTL_CONSTASCII_STRINGPARAM("Char 0x"));
+ aMsg.append("Char 0x");
aMsg.append(static_cast<sal_Int32>(aWeaks[i]), 16);
- aMsg.append(RTL_CONSTASCII_STRINGPARAM(" should have been weak"));
+ aMsg.append(" should have been weak");
CPPUNIT_ASSERT_MESSAGE(aMsg.getStr(),
nScript == i18n::ScriptType::WEAK);
}
@@ -779,9 +779,9 @@ void TestBreakIterator::testAsian()
{
sal_Int16 nScript = m_xBreak->getScriptType(aAsians, i);
OStringBuffer aMsg;
- aMsg.append(RTL_CONSTASCII_STRINGPARAM("Char 0x"));
+ aMsg.append("Char 0x");
aMsg.append(static_cast<sal_Int32>(aAsians[i]), 16);
- aMsg.append(RTL_CONSTASCII_STRINGPARAM(" should have been asian"));
+ aMsg.append(" should have been asian");
CPPUNIT_ASSERT_MESSAGE(aMsg.getStr(),
nScript == i18n::ScriptType::ASIAN);
}