summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-25 14:49:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-26 08:47:04 +0100
commit984a0c79cb57789cff6416900fc363eefead44db (patch)
treef8468e2696a2eec608f0da06ec6807720e969617 /vcl/osx
parent0631a91c1dafbd754a8d2bc2ccae03b547754cbd (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/osx')
-rw-r--r--vcl/osx/salframe.cxx2
-rw-r--r--vcl/osx/salobj.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 87dfa3ca275a..f3f3dda1ec5f 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -1722,7 +1722,7 @@ void AquaSalFrame::ResetClipRegion()
[mpNSWindow invalidateShadow];
}
-void AquaSalFrame::BeginSetClipRegion( sal_uLong nRects )
+void AquaSalFrame::BeginSetClipRegion( sal_uInt32 nRects )
{
if ( !mpNSWindow )
return;
diff --git a/vcl/osx/salobj.cxx b/vcl/osx/salobj.cxx
index 44e608318268..fb1105b6adb7 100644
--- a/vcl/osx/salobj.cxx
+++ b/vcl/osx/salobj.cxx
@@ -195,7 +195,7 @@ void AquaSalObject::ResetClipRegion()
setClippedPosSize();
}
-void AquaSalObject::BeginSetClipRegion( sal_uLong )
+void AquaSalObject::BeginSetClipRegion( sal_uInt32 )
{
mbClip = false;
}