summaryrefslogtreecommitdiff
path: root/desktop
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 /desktop
parenta48d8465c3f9f36a02fb3c6a79f5dbb5851174f7 (diff)
fdo#84938: convert CTRL_STATE_ #defines to 'enum class'
Change-Id: I1451180d258315a310a048b27510b4b58fa9145c
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/splash/splash.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index c406da931d08..f3163a2a2a52 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -593,7 +593,7 @@ void SplashScreen::Paint( const Rectangle&)
Rectangle aNativeControlRegion, aNativeContentRegion;
if( GetNativeControlRegion( CTRL_INTROPROGRESS, PART_ENTIRE_CONTROL, aDrawRect,
- CTRL_STATE_ENABLED, aValue, OUString(),
+ ControlState::ENABLED, aValue, OUString(),
aNativeControlRegion, aNativeContentRegion ) )
{
long nProgressHeight = aNativeControlRegion.GetHeight();
@@ -602,7 +602,7 @@ void SplashScreen::Paint( const Rectangle&)
}
if( (DrawNativeControl( CTRL_INTROPROGRESS, PART_ENTIRE_CONTROL, aDrawRect,
- CTRL_STATE_ENABLED, aValue, _sProgressText )) )
+ ControlState::ENABLED, aValue, _sProgressText )) )
{
return;
}