From e75abe6e0a4ea250366bb29c0ece697e9b1b80a1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Dec 2017 09:33:14 +0200 Subject: convert tolerance params to sal_uInt8 since their range is 0-255 Also drop pTols from ImplColReplaceParam, since it is always nullptr. Change-Id: I9e9ab7f7596e18cab1d67dd69922e5ac9867f45b Reviewed-on: https://gerrit.libreoffice.org/46274 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/inc/headless/svpbmp.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/inc/headless/svpbmp.hxx') diff --git a/vcl/inc/headless/svpbmp.hxx b/vcl/inc/headless/svpbmp.hxx index 884d9d13aecc..efdd2c2bb2af 100644 --- a/vcl/inc/headless/svpbmp.hxx +++ b/vcl/inc/headless/svpbmp.hxx @@ -59,7 +59,7 @@ public: virtual bool ScalingSupported() const override; virtual bool Scale( const double& rScaleX, const double& rScaleY, BmpScaleFlag nScaleFlag ) override; - virtual bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uLong nTol ) override; + virtual bool Replace( const Color& rSearchColor, const Color& rReplaceColor, sal_uInt8 nTol ) override; }; #endif // INCLUDED_VCL_INC_HEADLESS_SVPBMP_HXX -- cgit