summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-27 16:09:43 +0200
committerNoel Grandin <noel@peralex.com>2015-05-28 12:47:08 +0200
commitf3331f7694e74f349375c223ce7ed84838e92d89 (patch)
treeef238fa98153c756df201d26d15e0602638298cc /cui
parent173aa749d50f904887e4aa1ce425c6807668bff0 (diff)
convert PARENTCLIPMODE constants to scoped enum
Change-Id: I36a53112e75fca9208b2f91e224a7c671695509b
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/iconcdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx
index 0b77226a9512..686734d6e8a2 100644
--- a/cui/source/dialogs/iconcdlg.cxx
+++ b/cui/source/dialogs/iconcdlg.cxx
@@ -98,14 +98,14 @@ void IconChoicePage::ImplInitSettings()
if ( pParent->IsChildTransparentModeEnabled() && !IsControlBackground() )
{
EnableChildTransparentMode( true );
- SetParentClipMode( PARENTCLIPMODE_NOCLIP );
+ SetParentClipMode( ParentClipMode::NoClip );
SetPaintTransparent( true );
SetBackground();
}
else
{
EnableChildTransparentMode( false );
- SetParentClipMode( 0 );
+ SetParentClipMode( ParentClipMode::NONE );
SetPaintTransparent( false );
if ( IsControlBackground() )