summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/metaact.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/metaact.cxx')
-rw-r--r--vcl/source/gdi/metaact.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index b5f1eac47761..384817cc0804 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -1198,6 +1198,8 @@ MetaMaskAction::MetaMaskAction( const Point& rPt,
void MetaMaskAction::Execute( OutputDevice* pOut )
{
+ if (!AllowPoint(pOut->LogicToPixel(maPt)))
+ return;
pOut->DrawMask( maPt, maBmp, maColor );
}