diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-05 13:24:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-06 13:38:00 +0100 |
commit | b0fd921441e1e1066e232282843317514375c8ec (patch) | |
tree | 5dda07ff12936d864e651172f293d72022f99e89 /include/svx/bmpmask.hxx | |
parent | 08c0a761036427c15d3df13a671abe432654f90d (diff) |
convert tolerance params to sal_uInt8 (second try)
first attempt was in commit e75abe6e0a4ea250366bb29c0ece697e9b1b80a1,
reverted in 7accac097688832d8682a88a0176c3e1482ffade
Change-Id: I460e9ab5fcca3a99656e5d8434fa04c2387d7183
Reviewed-on: https://gerrit.libreoffice.org/47463
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx index 7231742d4753..a471ffcf880a 100644 --- a/include/svx/bmpmask.hxx +++ b/include/svx/bmpmask.hxx @@ -130,15 +130,15 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxBmpMask : public SfxDockingWindow virtual bool Close() override; - sal_uInt16 InitColorArrays( Color* pSrcCols, Color* pDstCols, - sal_uIntPtr* pTols ); + sal_uInt16 InitColorArrays( Color* pSrcCols, Color* pDstCols, + 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 ); + const sal_uInt8 nTol ); GDIMetaFile GetMetaFile(const Graphic& rGraphic); |