summaryrefslogtreecommitdiff
path: root/vcl/source/outdev/nativecontrols.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/outdev/nativecontrols.cxx')
-rw-r--r--vcl/source/outdev/nativecontrols.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/nativecontrols.cxx b/vcl/source/outdev/nativecontrols.cxx
index b7edeb11ab05..157769967a56 100644
--- a/vcl/source/outdev/nativecontrols.cxx
+++ b/vcl/source/outdev/nativecontrols.cxx
@@ -294,9 +294,9 @@ bool OutputDevice::DrawNativeControl( ControlType nType,
boost::shared_ptr< ImplControlValue > aScreenCtrlValue( TransformControlValue( aValue, *this ) );
Rectangle screenRegion( ImplLogicToDevicePixel( rControlRegion ) );
- Region aTestRegion( GetActiveClipRegion() );
+ vcl::Region aTestRegion( GetActiveClipRegion() );
aTestRegion.Intersect( rControlRegion );
- if (aTestRegion == Region(rControlRegion))
+ if (aTestRegion == vcl::Region(rControlRegion))
nState |= CTRL_CACHING_ALLOWED; // control is not clipped, caching allowed
bool bRet = mpGraphics->DrawNativeControl(nType, nPart, screenRegion, nState, *aScreenCtrlValue, aCaption, this );