summaryrefslogtreecommitdiff
path: root/include/vcl/bitmapex.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-26 10:36:34 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-02-26 10:53:28 +0000
commitf23c0dbe00bcdc13ff65fbe8a312416d0bc92599 (patch)
tree5229980d8db2662fd71302800d90944d5525be12 /include/vcl/bitmapex.hxx
parentb0e036c74e756ddbe6a09ade51decf95fb678a26 (diff)
loplugin:unuseddefaultparms in include/vcl (part2)
including a fix for a rather glaring bug in BitmapTools.cxx Change-Id: Id9db990b993cfeea9039c5fbaaa91996adeae22a Reviewed-on: https://gerrit.libreoffice.org/22713 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/bitmapex.hxx')
-rw-r--r--include/vcl/bitmapex.hxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/include/vcl/bitmapex.hxx b/include/vcl/bitmapex.hxx
index a4dea75da7ae..cdf1414f7e18 100644
--- a/include/vcl/bitmapex.hxx
+++ b/include/vcl/bitmapex.hxx
@@ -123,11 +123,8 @@ public:
This method dithers the bitmap inplace, i.e. a true color
bitmap is converted to a paletted bitmap, reducing the color
deviation by error diffusion.
-
- @param nDitherFlags
- The algorithm to be used for dithering
*/
- bool Dither( BmpDitherFlags nDitherFlags = BmpDitherFlags::Matrix );
+ bool Dither();
/** Crop the bitmap
@@ -277,17 +274,11 @@ public:
@param rReplaceColor
Color to be placed in all changed pixel
- @param nTol
- Tolerance value. Specifies the maximal difference between
- rSearchColor and the individual pixel values, such that the
- corresponding pixel is still regarded a match.
-
@return true, if the operation was completed successfully.
*/
bool Replace(
const Color& rSearchColor,
- const Color& rReplaceColor,
- sal_uLong nTol = 0 );
+ const Color& rReplaceColor );
/** Replace all pixel having one the search colors with the corresponding replace color