summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/clipping.cxx4
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;