diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-06 15:39:01 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-07 06:49:12 +0000 |
commit | 673b436c3592c5747f3dce4947168d6fa3ba45ea (patch) | |
tree | e5711bd1da76e9a554954f7275784fca4429c29f /vcl/source/gdi/bitmapex.cxx | |
parent | 702496391b2b9ef53f83752b34feb3c33d7fb4e9 (diff) |
loplugin:constantparam in vcl
Change-Id: I0cae8e5de1170dec4c82df7f1f5377143a079876
Reviewed-on: https://gerrit.libreoffice.org/28686
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/gdi/bitmapex.cxx')
-rw-r--r-- | vcl/source/gdi/bitmapex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx index 53b38e41da7f..4547cd377dab 100644 --- a/vcl/source/gdi/bitmapex.cxx +++ b/vcl/source/gdi/bitmapex.cxx @@ -476,13 +476,13 @@ bool BitmapEx::ReduceColors( sal_uInt16 nNewColorCount ) return !!aBitmap && aBitmap.ReduceColors( nNewColorCount, BMP_REDUCE_POPULAR ); } -bool BitmapEx::Expand( sal_uLong nDX, sal_uLong nDY, const Color* pInitColor, bool bExpandTransparent ) +bool BitmapEx::Expand( sal_uLong nDX, sal_uLong nDY, bool bExpandTransparent ) { bool bRet = false; if( !!aBitmap ) { - bRet = aBitmap.Expand( nDX, nDY, pInitColor ); + bRet = aBitmap.Expand( nDX, nDY ); if( bRet && ( eTransparent == TransparentType::Bitmap ) && !!aMask ) { |