summaryrefslogtreecommitdiff
path: root/rsc/inc/rsctools.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-02-11 13:20:49 +0200
committerNoel Grandin <noel@peralex.com>2015-02-23 09:26:58 +0200
commitba233e87efddf0a6751b35784dca1c805364ff3b (patch)
tree9d7c8a4256e688c2d47cb6ecf580ac196c4da2c0 /rsc/inc/rsctools.hxx
parenta2fa9e2468aa5c4fd4b610c5d0ebc8959e87a072 (diff)
remove unnecessary parenthesis in return statements
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
Diffstat (limited to 'rsc/inc/rsctools.hxx')
-rw-r--r--rsc/inc/rsctools.hxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/rsc/inc/rsctools.hxx b/rsc/inc/rsctools.hxx
index e7cde4a8aa84..f8d50c02e077 100644
--- a/rsc/inc/rsctools.hxx
+++ b/rsc/inc/rsctools.hxx
@@ -73,13 +73,11 @@ public:
RscPtrPtr();
~RscPtrPtr();
void Reset();
- sal_uInt32 Append( void * );
- sal_uInt32 Append( char * pStr ){
- return( Append( (void *)pStr ) );
- };
- sal_uInt32 GetCount(){ return( nCount ); };
+ sal_uInt32 Append( void * );
+ sal_uInt32 Append( char * pStr ) { return Append( (void *)pStr ); }
+ sal_uInt32 GetCount() { return nCount; }
void * GetEntry( sal_uInt32 nEle );
- void ** GetBlock(){ return( pMem ); };
+ void ** GetBlock() { return pMem; }
};
class RscWriteRc
@@ -124,7 +122,7 @@ public:
RSCBYTEORDER_TYPE GetByteOrder() const { return nByteOrder; }
- sal_uInt32 Size(){ return( nLen ); };
+ sal_uInt32 Size(){ return nLen; }
void Put( sal_uInt64 lVal )
{
union