diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-12 17:21:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-12 20:23:56 +0000 |
commit | f2d7ee6704626b7686c1046ac796f0aac8fccbfd (patch) | |
tree | c161d0a92466e62dce07e59f0a7d1e0feec838b8 /vcl/source/window | |
parent | 77bc209d64072a935c61caff2564e7f6952e3a77 (diff) |
SAL_OBJECT_CLIP_ABSOLUTE is never used
Change-Id: I090f9854589a26b8de78fcda1093ea0c19625c79
Diffstat (limited to 'vcl/source/window')
-rw-r--r-- | vcl/source/window/clipping.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/window/clipping.cxx b/vcl/source/window/clipping.cxx index ad8578df958e..1468e22f2cad 100644 --- a/vcl/source/window/clipping.cxx +++ b/vcl/source/window/clipping.cxx @@ -321,14 +321,12 @@ bool Window::ImplSysObjClip( const vcl::Region* pOldRegion ) vcl::Region aRegion = *pWinChildClipRegion; Rectangle aWinRect( Point( mnOutOffX, mnOutOffY ), Size( mnOutWidth, mnOutHeight ) ); vcl::Region aWinRectRegion( aWinRect ); - sal_uInt16 nClipFlags = mpWindowImpl->mpSysObj->GetClipRegionType(); if ( aRegion == aWinRectRegion ) mpWindowImpl->mpSysObj->ResetClipRegion(); else { - if ( !(nClipFlags & SAL_OBJECT_CLIP_ABSOLUTE) ) - aRegion.Move( -mnOutOffX, -mnOutOffY ); + aRegion.Move( -mnOutOffX, -mnOutOffY ); // set/update clip region RectangleVector aRectangles; |