diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-16 08:49:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-16 08:42:37 +0000 |
commit | f0f973da8560e16cba85d2c9465c3a8c4c0ebbb3 (patch) | |
tree | 0b6d78c3b16acc698dee15d83422a924be71097f /include/vcl/salbtype.hxx | |
parent | 6eb91bdf75fe0085584efa6abf955c14c7acb9fd (diff) |
loplugin:constantparams in vcl/
also some improvements to the plugin
Change-Id: I0e3a519d70756e577fcb1bd47dd66864b5b4c871
Reviewed-on: https://gerrit.libreoffice.org/23289
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/salbtype.hxx')
-rw-r--r-- | include/vcl/salbtype.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx index 9476c031a27f..36da41db3593 100644 --- a/include/vcl/salbtype.hxx +++ b/include/vcl/salbtype.hxx @@ -226,12 +226,11 @@ public: ColorMask(const ColorMaskElement& rRedMask = ColorMaskElement(), const ColorMaskElement& rGreenMask = ColorMaskElement(), - const ColorMaskElement& rBlueMask = ColorMaskElement(), - sal_uInt32 nAlphaChannel = 0) + const ColorMaskElement& rBlueMask = ColorMaskElement()) : maR(rRedMask) , maG(rGreenMask) , maB(rBlueMask) - , mnAlphaChannel(nAlphaChannel) + , mnAlphaChannel(0) { } |