From 82625bb98e256b83351328d3bf2a14e3dd244eef Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 Dec 2013 14:23:33 +0200 Subject: remove unnecessary sal_Unicode casts in OUStringBuffer::append calls Convert code like: buf.append( static_cast('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051 --- stoc/test/uriproc/test_uriproc.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stoc/test') 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); } -- cgit