summaryrefslogtreecommitdiff
path: root/stoc/test
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-19 17:06:06 +0200
committerNoel Grandin <noel@peralex.com>2013-11-20 10:07:32 +0200
commit52bbd9cc00b5a1e15e4f96b5c5fa5e75855692c1 (patch)
tree72d0d1d16806f1c785a4f79ea2c0cdfe54bb8101 /stoc/test
parent3af99e4d59d89c343965a928681a30f36b1007d2 (diff)
remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii calls
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
Diffstat (limited to 'stoc/test')
-rw-r--r--stoc/test/uriproc/test_uriproc.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/stoc/test/uriproc/test_uriproc.cxx b/stoc/test/uriproc/test_uriproc.cxx
index a82875a13e08..a7be7da9bc2f 100644
--- a/stoc/test/uriproc/test_uriproc.cxx
+++ b/stoc/test/uriproc/test_uriproc.cxx
@@ -89,13 +89,13 @@ OString createTestAssertEqualMessage(
append(buf, token2);
buf.append(static_cast< sal_Unicode >('|'));
append(buf, token3);
- buf.appendAscii(RTL_CONSTASCII_STRINGPARAM(": TEST_ASSERT_EQUAL("));
+ buf.append(": TEST_ASSERT_EQUAL(");
buf.appendAscii(expectedExpr);
- buf.appendAscii(RTL_CONSTASCII_STRINGPARAM(", "));
+ buf.append(", ");
buf.appendAscii(actualExpr);
- buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("): <"));
+ buf.append("): <");
append(buf, expected);
- buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("> != <"));
+ buf.append("> != <");
append(buf, actual);
buf.append(static_cast< sal_Unicode >('>'));
return OUStringToOString(