summaryrefslogtreecommitdiff
path: root/include/svl/eitem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/eitem.hxx')
-rw-r--r--include/svl/eitem.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/svl/eitem.hxx b/include/svl/eitem.hxx
index 114e451c061d..650a43204821 100644
--- a/include/svl/eitem.hxx
+++ b/include/svl/eitem.hxx
@@ -30,8 +30,8 @@ class SAL_DLLPUBLIC_RTTI SfxEnumItem : public SfxEnumItemInterface
EnumT m_nValue;
protected:
- explicit SfxEnumItem(sal_uInt16 const nWhich, EnumT const nValue)
- : SfxEnumItemInterface(nWhich)
+ explicit SfxEnumItem(sal_uInt16 const nWhich, SfxItemType eItemType, EnumT const nValue)
+ : SfxEnumItemInterface(nWhich, eItemType)
, m_nValue(nValue)
{ }
@@ -72,8 +72,9 @@ class SVL_DLLPUBLIC SfxBoolItem
public:
static SfxPoolItem* CreateDefault();
- explicit SfxBoolItem(sal_uInt16 const nWhich = 0, bool const bValue = false)
- : SfxPoolItem(nWhich)
+ explicit SfxBoolItem(sal_uInt16 const nWhich = 0, bool const bValue = false,
+ SfxItemType eItemType = SfxItemType::SfxBoolItemType)
+ : SfxPoolItem(nWhich, eItemType)
, m_bValue(bValue)
{ }