diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-12 20:19:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-12 20:23:56 +0000 |
commit | 32765747ace52f553f815a4ba21f7e6c9b9e899f (patch) | |
tree | 29c302434f24a0e65cfb8c5bd468ffb6ded124aa /vcl | |
parent | f2d7ee6704626b7686c1046ac796f0aac8fccbfd (diff) |
this GetClipRegionType is always SAL_OBJECT_CLIP_INCLUDERECTS
Change-Id: I0dc1ac4748dc81e16cf1d68e5f1bd8eb407bb9cf
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/unx/salobj.h | 2 | ||||
-rw-r--r-- | vcl/unx/generic/window/salobj.cxx | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/vcl/inc/unx/salobj.h b/vcl/inc/unx/salobj.h index 867181ab39b9..e03933f50306 100644 --- a/vcl/inc/unx/salobj.h +++ b/vcl/inc/unx/salobj.h @@ -39,8 +39,6 @@ public: return ClipRectangleList; } void ResetClipRegion() { numClipRectangles = 0; } - sal_uInt16 GetClipRegionType() { - return SAL_OBJECT_CLIP_INCLUDERECTS; } int GetRectangleCount() { return numClipRectangles; } diff --git a/vcl/unx/generic/window/salobj.cxx b/vcl/unx/generic/window/salobj.cxx index 85cc4983e9fb..f18f73a5b2d7 100644 --- a/vcl/unx/generic/window/salobj.cxx +++ b/vcl/unx/generic/window/salobj.cxx @@ -307,7 +307,7 @@ void X11SalObject::EndSetClipRegion() { XRectangle *pRectangles = maClipRegion.EndSetClipRegion (); - const int nType = maClipRegion.GetClipRegionType(); + const int nType = SAL_OBJECT_CLIP_INCLUDERECTS; const int nRectangles = maClipRegion.GetRectangleCount(); const int dest_kind = ShapeBounding; @@ -337,7 +337,7 @@ X11SalObject::EndSetClipRegion() sal_uInt16 X11SalObject::GetClipRegionType() { - return maClipRegion.GetClipRegionType(); + return SAL_OBJECT_CLIP_INCLUDERECTS; } void |