summaryrefslogtreecommitdiff
path: root/stoc/test/uriproc/test_uriproc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/test/uriproc/test_uriproc.cxx')
-rw-r--r--stoc/test/uriproc/test_uriproc.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/test/uriproc/test_uriproc.cxx b/stoc/test/uriproc/test_uriproc.cxx
index a7be7da9bc2f..9f0977776f05 100644
--- a/stoc/test/uriproc/test_uriproc.cxx
+++ b/stoc/test/uriproc/test_uriproc.cxx
@@ -85,9 +85,9 @@ OString createTestAssertEqualMessage(
{
OUStringBuffer buf;
buf.appendAscii(token1);
- buf.append(static_cast< sal_Unicode >('|'));
+ buf.append('|');
append(buf, token2);
- buf.append(static_cast< sal_Unicode >('|'));
+ buf.append('|');
append(buf, token3);
buf.append(": TEST_ASSERT_EQUAL(");
buf.appendAscii(expectedExpr);
@@ -97,7 +97,7 @@ OString createTestAssertEqualMessage(
append(buf, expected);
buf.append("> != <");
append(buf, actual);
- buf.append(static_cast< sal_Unicode >('>'));
+ buf.append('>');
return OUStringToOString(
buf.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US);
}