diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-25 14:09:54 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-26 06:44:02 +0000 |
commit | 97978f7f015e042e72ec2bf0f3ba1652ecbcc5c5 (patch) | |
tree | d0d447761fdbd21aec93dd07cdf1c851b24be9b4 | |
parent | 766524b13b3e69cc16cf19b826f62222d7f15ea5 (diff) |
no-one passes explicit values for these defaulted params
so just remove them
Change-Id: I9b883d9e10bf5bf156fa4b85f45ade54ccd50878
Reviewed-on: https://gerrit.libreoffice.org/20168
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r-- | include/vcl/bitmap.hxx | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx index c49b4f0e0048..142795b6603f 100644 --- a/include/vcl/bitmap.hxx +++ b/include/vcl/bitmap.hxx @@ -152,33 +152,32 @@ class VCL_DLLPUBLIC BmpFilterParam { public: - BmpFilterParam( sal_uLong nProgressStart = 0, sal_uLong nProgressEnd = 0 ) : - meFilter( BMP_FILTER_UNKNOWN ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ) {} + BmpFilterParam() : + meFilter( BMP_FILTER_UNKNOWN ), mnProgressStart( 0 ), mnProgressEnd( 0 ) {} - BmpFilterParam( sal_uInt8 cSolarGreyThreshold, sal_uLong nProgressStart = 0, sal_uLong nProgressEnd = 0 ) : - meFilter( BMP_FILTER_SOLARIZE ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ), + BmpFilterParam( sal_uInt8 cSolarGreyThreshold) : + meFilter( BMP_FILTER_SOLARIZE ), mnProgressStart( 0 ), mnProgressEnd( 0 ), mcSolarGreyThreshold( cSolarGreyThreshold ) {} - BmpFilterParam( double nRadius, sal_uLong nProgressStart = 0, sal_uLong nProgressEnd = 0 ) : - meFilter( BMP_FILTER_SMOOTH ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ), + BmpFilterParam( double nRadius) : + meFilter( BMP_FILTER_SMOOTH ), mnProgressStart( 0 ), mnProgressEnd( 0 ), mnRadius( nRadius ) {} - BmpFilterParam( sal_uInt16 nSepiaPercent, sal_uLong nProgressStart = 0, sal_uLong nProgressEnd = 0 ) : - meFilter( BMP_FILTER_SEPIA ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ), + BmpFilterParam( sal_uInt16 nSepiaPercent) : + meFilter( BMP_FILTER_SEPIA ), mnProgressStart( 0 ), mnProgressEnd( 0 ), mnSepiaPercent( nSepiaPercent ) { assert(nSepiaPercent<=100); } - BmpFilterParam( const Size& rMosaicTileSize, sal_uLong nProgressStart = 0, sal_uLong nProgressEnd = 0 ) : - meFilter( BMP_FILTER_MOSAIC ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ) + BmpFilterParam( const Size& rMosaicTileSize) : + meFilter( BMP_FILTER_MOSAIC ), mnProgressStart( 0 ), mnProgressEnd( 0 ) { maMosaicTileSize.mnTileWidth = rMosaicTileSize.Width(); maMosaicTileSize.mnTileHeight= rMosaicTileSize.Height(); } - BmpFilterParam( sal_uInt16 nEmbossAzimuthAngle100, sal_uInt16 nEmbossElevationAngle100, - sal_uLong nProgressStart = 0, sal_uLong nProgressEnd = 0 ) : - meFilter( BMP_FILTER_EMBOSS_GREY ), mnProgressStart( nProgressStart ), mnProgressEnd( nProgressEnd ) + BmpFilterParam( sal_uInt16 nEmbossAzimuthAngle100, sal_uInt16 nEmbossElevationAngle100) : + meFilter( BMP_FILTER_EMBOSS_GREY ), mnProgressStart( 0 ), mnProgressEnd( 0 ) { maEmbossAngles.mnAzimuthAngle100 = nEmbossAzimuthAngle100; maEmbossAngles.mnElevationAngle100 = nEmbossElevationAngle100; |