diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-12 09:33:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-13 11:00:40 +0100 |
commit | e75abe6e0a4ea250366bb29c0ece697e9b1b80a1 (patch) | |
tree | 9f6f945bdf57feab0e8f71bec331f220f49166b0 /include/svx/bmpmask.hxx | |
parent | 6ca6d6ac912588a8f62d7e6b668ebec333752ebc (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/bmpmask.hxx')
-rw-r--r-- | include/svx/bmpmask.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx index 7231742d4753..10d3383367fb 100644 --- a/include/svx/bmpmask.hxx +++ b/include/svx/bmpmask.hxx @@ -131,14 +131,14 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxBmpMask : public SfxDockingWindow virtual bool Close() override; sal_uInt16 InitColorArrays( Color* pSrcCols, Color* pDstCols, - sal_uIntPtr* pTols ); + sal_uInt8* pTols ); Bitmap ImpMask( const Bitmap& rBitmap ); GDIMetaFile ImpMask( const GDIMetaFile& rMtf ); Animation ImpMask( const Animation& rAnimation ); BitmapEx ImpMaskTransparent( const BitmapEx& rBitmapEx, const Color& rColor, - const long nTol ); + sal_uInt8 nTol ); GDIMetaFile GetMetaFile(const Graphic& rGraphic); |