diff options
author | Noel Grandin <noel@peralex.com> | 2013-12-20 14:23:33 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-01-07 09:43:37 +0200 |
commit | 82625bb98e256b83351328d3bf2a14e3dd244eef (patch) | |
tree | 9b661850ae5df9ea27fcac063cfe61862046c8d1 /bridges/source/cpp_uno/msvc_win32_intel | |
parent | 347af397cafa97cfa7d5027f83fff784ca04a397 (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 'bridges/source/cpp_uno/msvc_win32_intel')
-rw-r--r-- | bridges/source/cpp_uno/msvc_win32_intel/except.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx index b2c97badabcc..2aecc3a03afc 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/except.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/except.cxx @@ -56,7 +56,7 @@ static inline OUString toUNOname( OUString const & rRTTIname ) throw () aRet.append( aStr.copy( n +1, nPos -n -1 ) ); if (n >= 0) { - aRet.append( (sal_Unicode)'.' ); + aRet.append( '.' ); } nPos = n; } @@ -72,10 +72,10 @@ static inline OUString toRTTIname( OUString const & rUNOname ) throw () { sal_Int32 n = rUNOname.lastIndexOf( '.', nPos ); aRet.append( rUNOname.copy( n +1, nPos -n -1 ) ); - aRet.append( (sal_Unicode)'@' ); + aRet.append( '@' ); nPos = n; } - aRet.append( (sal_Unicode)'@' ); + aRet.append( '@' ); return aRet.makeStringAndClear(); } |