summaryrefslogtreecommitdiff
path: root/stoc/test
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-20 14:23:33 +0200
committerNoel Grandin <noel@peralex.com>2014-01-07 09:43:37 +0200
commit82625bb98e256b83351328d3bf2a14e3dd244eef (patch)
tree9b661850ae5df9ea27fcac063cfe61862046c8d1 /stoc/test
parent347af397cafa97cfa7d5027f83fff784ca04a397 (diff)
remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
Diffstat (limited to 'stoc/test')
-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);
}