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 /registry/source | |
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 'registry/source')
-rw-r--r-- | registry/source/regimpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index 5ef8cbe79b26..f92c3cf456fb 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -661,7 +661,7 @@ RegError ORegistry::createKey(RegKeyHandle hKey, const OUString& keyName, OUStringBuffer sFullPath(sFullKeyName.getLength()); OUString token; - sFullPath.append((sal_Unicode)'/'); + sFullPath.append('/'); sal_Int32 nIndex = 0; do @@ -675,7 +675,7 @@ RegError ORegistry::createKey(RegKeyHandle hKey, const OUString& keyName, } sFullPath.append(token); - sFullPath.append((sal_Unicode)'/'); + sFullPath.append('/'); } } while( nIndex != -1 ); |