summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-08 10:20:47 +0200
committerNoel Grandin <noel@peralex.com>2016-02-08 14:00:37 +0200
commit98fa826a51a67d278c7c81f728c35753ffefe1b5 (patch)
treed81d489b43e483734684371de231e9bff312ec44 /include
parente137c4028ce5ceb2bbf988f47875e6b5e2c9764f (diff)
convert SfxSlotKind to scoped enum
Change-Id: I742e83bd455bc0efa4ad5a34575d3255c3a9a16f
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/msg.hxx12
1 files changed, 4 insertions, 8 deletions
diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx
index 37d478f54b2a..97313d06ff30 100644
--- a/include/sfx2/msg.hxx
+++ b/include/sfx2/msg.hxx
@@ -85,11 +85,11 @@ class SfxRequest;
-enum SfxSlotKind
+enum class SfxSlotKind
{
- SFX_KIND_STANDARD,
- SFX_KIND_ENUM,
- SFX_KIND_ATTR
+ Standard,
+ Enum,
+ Attribute
};
@@ -193,16 +193,12 @@ SFX_DECL_TYPE(22); // for SvxSearchItem
0, 0, DisableFlags, UnoName \
}
-//class SfxPoolItem;
-
struct SfxFormalArgument
{
const SfxType* pType; // Type of the parameter (SfxPoolItem subclass)
const char* pName; // Name of the sParameters
sal_uInt16 nSlotId; // Slot-Id for identification of the Parameters
-// const TypeId& Type() const
-// { return pType->aTypeId; }
SfxPoolItem* CreateItem() const
{ return pType->createSfxPoolItemFunc(); }
};