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 /slideshow | |
parent | translated german comments (diff) | |
download | core-82625bb98e256b83351328d3bf2a14e3dd244eef.tar.gz core-82625bb98e256b83351328d3bf2a14e3dd244eef.zip |
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 'slideshow')
-rw-r--r-- | slideshow/source/engine/rehearsetimingsactivity.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/slideshow/source/engine/rehearsetimingsactivity.cxx b/slideshow/source/engine/rehearsetimingsactivity.cxx index 99a0061fe7df..66a54ed5bc1a 100644 --- a/slideshow/source/engine/rehearsetimingsactivity.cxx +++ b/slideshow/source/engine/rehearsetimingsactivity.cxx @@ -426,17 +426,17 @@ void RehearseTimingsActivity::paint( cppcanvas::CanvasSharedPtr const & canvas ) OUStringBuffer buf; sal_Int32 n = (nTimeSecs / 3600); if (n < 10) - buf.append( static_cast<sal_Unicode>('0') ); + buf.append( '0' ); buf.append( n ); - buf.append( static_cast<sal_Unicode>(':') ); + buf.append( ':' ); n = ((nTimeSecs % 3600) / 60); if (n < 10) - buf.append( static_cast<sal_Unicode>('0') ); + buf.append( '0' ); buf.append( n ); - buf.append( static_cast<sal_Unicode>(':') ); + buf.append( ':' ); n = (nTimeSecs % 60); if (n < 10) - buf.append( static_cast<sal_Unicode>('0') ); + buf.append( '0' ); buf.append( n ); const OUString time = buf.makeStringAndClear(); |