diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-25 14:49:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-26 08:47:04 +0100 |
commit | 984a0c79cb57789cff6416900fc363eefead44db (patch) | |
tree | f8468e2696a2eec608f0da06ec6807720e969617 /vcl/inc/osx | |
parent | 0631a91c1dafbd754a8d2bc2ccae03b547754cbd (diff) |
sal_uIntPtr->sal_uInt32 inSalClipRegion::BeginSetClipRegion
sal_uInt32 seems reasonable given that this is the number of rectanges
in an image.
And then convert all of the other BeginSetClipRegion methods to use
sal_uInt32 too.
Change-Id: I85a712ec823662ac30f3859051e2b974fb99775e
Reviewed-on: https://gerrit.libreoffice.org/68343
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/osx')
-rw-r--r-- | vcl/inc/osx/salframe.h | 2 | ||||
-rw-r--r-- | vcl/inc/osx/salobj.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/osx/salframe.h b/vcl/inc/osx/salframe.h index 85121d80d125..e7bb03008db6 100644 --- a/vcl/inc/osx/salframe.h +++ b/vcl/inc/osx/salframe.h @@ -156,7 +156,7 @@ public: // set clip region to none (-> rectangular windows, normal state) virtual void ResetClipRegion() override; // start setting the clipregion consisting of nRects rectangles - virtual void BeginSetClipRegion( sal_uLong nRects ) override; + virtual void BeginSetClipRegion( sal_uInt32 nRects ) override; // add a rectangle to the clip region virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) override; // done setting up the clipregion diff --git a/vcl/inc/osx/salobj.h b/vcl/inc/osx/salobj.h index 40b51004992d..17f5374d1652 100644 --- a/vcl/inc/osx/salobj.h +++ b/vcl/inc/osx/salobj.h @@ -55,7 +55,7 @@ public: virtual ~AquaSalObject() override; virtual void ResetClipRegion() override; - virtual void BeginSetClipRegion( sal_uLong nRects ) override; + virtual void BeginSetClipRegion( sal_uInt32 nRects ) override; virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) override; virtual void EndSetClipRegion() override; virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight ) override; |