summaryrefslogtreecommitdiffstats
path: root/vcl/source/gdi/gdimtf.cxx
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 /vcl/source/gdi/gdimtf.cxx
parentimport the document properties before the document (diff)
downloadcore-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 'vcl/source/gdi/gdimtf.cxx')
-rw-r--r--vcl/source/gdi/gdimtf.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx
index 65b353760563..3193269f3f3a 100644
--- a/vcl/source/gdi/gdimtf.cxx
+++ b/vcl/source/gdi/gdimtf.cxx
@@ -1861,7 +1861,7 @@ BitmapEx GDIMetaFile::ImplBmpConvertFnc( const BitmapEx& rBmpEx, const void* pBm
Color GDIMetaFile::ImplColMonoFnc( const Color&, const void* pColParam )
{
- return( ( (const ImplColMonoParam*) pColParam )->aColor );
+ return ( (const ImplColMonoParam*) pColParam )->aColor;
}
BitmapEx GDIMetaFile::ImplBmpMonoFnc( const BitmapEx& rBmpEx, const void* pBmpParam )
@@ -1896,7 +1896,7 @@ Color GDIMetaFile::ImplColReplaceFnc( const Color& rColor, const void* pColParam
( ( (const ImplColReplaceParam*) pColParam )->pMinB[ i ] <= nB ) &&
( ( (const ImplColReplaceParam*) pColParam )->pMaxB[ i ] >= nB ) )
{
- return( ( (const ImplColReplaceParam*) pColParam )->pDstCols[ i ] );
+ return ( (const ImplColReplaceParam*) pColParam )->pDstCols[ i ];
}
}
@@ -2738,7 +2738,7 @@ sal_uLong GDIMetaFile::GetSizeBytes() const
}
}
- return( nSizeBytes );
+ return nSizeBytes;
}
SvStream& ReadGDIMetaFile( SvStream& rIStm, GDIMetaFile& rGDIMetaFile )