summaryrefslogtreecommitdiff
path: root/vcl/source/window/paint.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-30 16:26:11 +0200
committerNoel Grandin <noel@peralex.com>2015-01-06 10:59:43 +0200
commitabe670157b69aa7fe4b478f1fd13757d7b7fcc4b (patch)
treeaa3fbd80e0fbc9ac3d1674d37c0fcb01ffa595f5 /vcl/source/window/paint.cxx
parenta48d8465c3f9f36a02fb3c6a79f5dbb5851174f7 (diff)
fdo#84938: convert CTRL_STATE_ #defines to 'enum class'
Change-Id: I1451180d258315a310a048b27510b4b58fa9145c
Diffstat (limited to 'vcl/source/window/paint.cxx')
-rw-r--r--vcl/source/window/paint.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 4cdaf36f805d..c22c5b1548a6 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -1168,10 +1168,10 @@ void Window::Erase()
if( aCtrlPart != 0 && ! IsControlBackground() )
{
Rectangle aCtrlRegion( Point(), GetOutputSizePixel() );
- ControlState nState = 0;
+ ControlState nState = ControlState::NONE;
if( IsEnabled() )
- nState |= CTRL_STATE_ENABLED;
+ nState |= ControlState::ENABLED;
bNativeOK = DrawNativeControl( CTRL_WINDOW_BACKGROUND, aCtrlPart, aCtrlRegion,
nState, ImplControlValue(), OUString() );