From 1730df0127ff230cf6c89f4815f5b59c8603fa2b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Nov 2013 10:05:20 +0200 Subject: remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::append Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71 --- i18npool/qa/cppunit/test_breakiterator.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'i18npool') 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(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(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); } -- cgit