From e50ef195bc95f3f410119f623928382cb88b45d2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 1 Jul 2014 15:45:52 +0200 Subject: New loplugin:stringconcat Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac --- sal/qa/rtl/textenc/rtl_textcvt.cxx | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'sal/qa/rtl') diff --git a/sal/qa/rtl/textenc/rtl_textcvt.cxx b/sal/qa/rtl/textenc/rtl_textcvt.cxx index 2a40d3a2b083..b6b7001c2524 100644 --- a/sal/qa/rtl/textenc/rtl_textcvt.cxx +++ b/sal/qa/rtl/textenc/rtl_textcvt.cxx @@ -87,8 +87,7 @@ void testSingleByteCharSet(SingleByteCharSet const & rSet) { rSet.m_aMap[i] == 0xFFFF); CPPUNIT_ASSERT_MESSAGE(OUStringToOString(OUString("aUnicode[" + OUString::number(j) + "] == " + OUString::number(aUnicode[j], 16) + - ", " + - "rSet.m_aMap[" + OUString::number(i) + "] == " + + ", rSet.m_aMap[" + OUString::number(i) + "] == " + OUString::number(rSet.m_aMap[i], 16)), RTL_TEXTENCODING_UTF8).getStr(), aUnicode[j] == rSet.m_aMap[i]); @@ -225,8 +224,7 @@ void doComplexCharSetTest(ComplexCharSetTest const & rTest) { for (sal_Size i = 0; i < rTest.m_nUnicodeSize; ++i) { CPPUNIT_ASSERT_MESSAGE(OUStringToOString(OUString("aUnicode[" + OUString::number(i) + "] == " + OUString::number(aUnicode[i], 16) + - ", " + - "rTest.m_aUnicode[" + OUString::number(i) + "] == " + + ", rTest.m_aUnicode[" + OUString::number(i) + "] == " + OUString::number(rTest.m_aUnicode[i], 16)), RTL_TEXTENCODING_UTF8).getStr(), aUnicode[i] == rTest.m_aUnicode[i]); @@ -361,8 +359,7 @@ void doComplexCharSetTest(ComplexCharSetTest const & rTest) { for (sal_Size i = 0; i < rTest.m_nUnicodeSize; ++i) { CPPUNIT_ASSERT_MESSAGE(OUStringToOString(OUString("aUnicode[" + OUString::number(i) + "] == " + OUString::number(aUnicode[i], 16) + - ", " + - "rTest.m_aUnicode[" + OUString::number(i) + "] == " + + ", rTest.m_aUnicode[" + OUString::number(i) + "] == " + OUString::number(rTest.m_aUnicode[i], 16)), RTL_TEXTENCODING_UTF8).getStr(), aUnicode[i] == rTest.m_aUnicode[i]); @@ -402,8 +399,7 @@ void doComplexCharSetTest(ComplexCharSetTest const & rTest) { for (sal_Size i = 0; i < rTest.m_nTextSize; ++i) { CPPUNIT_ASSERT_MESSAGE(OUStringToOString(OUString("aText[" + OUString::number(i) + "] == " + OUString::number(aText[i], 16) + - ", " + - "rTest.m_pText[" + OUString::number(i) + "] == " + + ", rTest.m_pText[" + OUString::number(i) + "] == " + OUString::number(rTest.m_pText[i], 16)), RTL_TEXTENCODING_UTF8).getStr(), aText[i] == rTest.m_pText[i]); @@ -442,8 +438,7 @@ void doComplexCharSetCutTest(ComplexCharSetTest const & rTest) { for (sal_Size i = 0; i < nSize; ++i) { CPPUNIT_ASSERT_MESSAGE(OUStringToOString(OUString("aUnicode[" + OUString::number(i) + "] == " + OUString::number(aUnicode[i], 16) + - ", " + - "rTest.m_aUnicode[" + OUString::number(i) + "] == " + + ", rTest.m_aUnicode[" + OUString::number(i) + "] == " + OUString::number(rTest.m_aUnicode[i], 16)), RTL_TEXTENCODING_UTF8).getStr(), aUnicode[i] == rTest.m_aUnicode[i]); -- cgit