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 --- ucb/source/regexp/regexp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb') diff --git a/ucb/source/regexp/regexp.cxx b/ucb/source/regexp/regexp.cxx index 354e970e2e0e..6701f409d314 100644 --- a/ucb/source/regexp/regexp.cxx +++ b/ucb/source/regexp/regexp.cxx @@ -202,7 +202,7 @@ void appendStringLiteral(OUStringBuffer * pBuffer, { OSL_ASSERT(pBuffer); - pBuffer->append(sal_Unicode('"')); + pBuffer->append('"'); sal_Unicode const * p = rString.getStr(); sal_Unicode const * pEnd = p + rString.getLength(); while (p != pEnd) -- cgit