diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-08 10:20:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-08 14:00:37 +0200 |
commit | 98fa826a51a67d278c7c81f728c35753ffefe1b5 (patch) | |
tree | d81d489b43e483734684371de231e9bff312ec44 /sfx2/source/control/msg.cxx | |
parent | e137c4028ce5ceb2bbf988f47875e6b5e2c9764f (diff) |
convert SfxSlotKind to scoped enum
Change-Id: I742e83bd455bc0efa4ad5a34575d3255c3a9a16f
Diffstat (limited to 'sfx2/source/control/msg.cxx')
-rw-r--r-- | sfx2/source/control/msg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/control/msg.cxx b/sfx2/source/control/msg.cxx index 574182c3cc98..688c948b5def 100644 --- a/sfx2/source/control/msg.cxx +++ b/sfx2/source/control/msg.cxx @@ -26,19 +26,19 @@ SfxSlotKind SfxSlot::GetKind() const { if( !nMasterSlotId && !nValue) - return (SfxSlotKind) SFX_KIND_STANDARD; + return SfxSlotKind::Standard; if ( nMasterSlotId && fnExec==nullptr && fnState==nullptr ) { if ( *pType->pType == typeid(SfxBoolItem) ) - return (SfxSlotKind) SFX_KIND_ENUM; + return SfxSlotKind::Enum; else { OSL_FAIL( "invalid slot kind detected" ); - return SFX_KIND_ENUM; + return SfxSlotKind::Enum; } } else - return (SfxSlotKind) SFX_KIND_ATTR; + return SfxSlotKind::Attribute; } |