diff options
author | Noel Grandin <noel@peralex.com> | 2015-02-11 13:20:49 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-02-23 09:26:58 +0200 |
commit | ba233e87efddf0a6751b35784dca1c805364ff3b (patch) | |
tree | 9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /idl/source/cmptools/hash.cxx | |
parent | import the document properties before the document (diff) | |
download | core-ba233e87efddf0a6751b35784dca1c805364ff3b.tar.gz core-ba233e87efddf0a6751b35784dca1c805364ff3b.zip |
remove unnecessary parenthesis in return statements
found with
$ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;'
Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'idl/source/cmptools/hash.cxx')
-rw-r--r-- | idl/source/cmptools/hash.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/cmptools/hash.cxx b/idl/source/cmptools/hash.cxx index dc6e27cebf98..6ca4a7c7cac2 100644 --- a/idl/source/cmptools/hash.cxx +++ b/idl/source/cmptools/hash.cxx @@ -132,7 +132,7 @@ sal_uInt32 SvStringHashTable::HashFunc( const OString& rElement ) const nShift += 4; pStr++; } - return( nHash ); + return nHash; } OString SvStringHashTable::GetNearString( const OString& rName ) const @@ -179,7 +179,7 @@ SvStringHashEntry * SvStringHashTable::Get( sal_uInt32 nIndex ) const { if( IsEntry( nIndex ) ) return pEntries + nIndex; - return( NULL ); + return NULL; } bool SvStringHashTable::equals( const OString& rElement, |