summaryrefslogtreecommitdiff
path: root/vcl/win/window/salframe.cxx
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/win/window/salframe.cxx
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/win/window/salframe.cxx')
-rw-r--r--vcl/win/window/salframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index 4fcb4947bc89..6a654e3cc01f 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -2854,7 +2854,7 @@ void WinSalFrame::ResetClipRegion()
SetWindowRgn( mhWnd, nullptr, TRUE );
}
-void WinSalFrame::BeginSetClipRegion( sal_uLong nRects )
+void WinSalFrame::BeginSetClipRegion( sal_uInt32 nRects )
{
if( mpClipRgnData )
delete [] reinterpret_cast<BYTE*>(mpClipRgnData);