diff options
Diffstat (limited to 'include/svl/cintitem.hxx')
-rw-r--r-- | include/svl/cintitem.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/svl/cintitem.hxx b/include/svl/cintitem.hxx index bde59c39906b..0b3da790d1ed 100644 --- a/include/svl/cintitem.hxx +++ b/include/svl/cintitem.hxx @@ -30,8 +30,8 @@ class SVL_DLLPUBLIC CntByteItem: public SfxPoolItem public: - CntByteItem(sal_uInt16 which, sal_uInt8 nTheValue): - SfxPoolItem(which), m_nValue(nTheValue) {} + CntByteItem(sal_uInt16 which, sal_uInt8 nTheValue, SfxItemType eItemType = SfxItemType::CntByteItemType): + SfxPoolItem(which, eItemType), m_nValue(nTheValue) {} virtual bool operator ==(const SfxPoolItem & rItem) const override; @@ -66,8 +66,8 @@ class SVL_DLLPUBLIC CntUInt16Item: public SfxPoolItem public: - CntUInt16Item(sal_uInt16 which, sal_uInt16 nTheValue): - SfxPoolItem(which), m_nValue(nTheValue) + CntUInt16Item(sal_uInt16 which, sal_uInt16 nTheValue, SfxItemType eItemType = SfxItemType::CntUInt16ItemType): + SfxPoolItem(which, eItemType), m_nValue(nTheValue) {} virtual bool operator ==(const SfxPoolItem & rItem) const override; @@ -103,8 +103,8 @@ class SVL_DLLPUBLIC CntInt32Item: public SfxPoolItem public: - CntInt32Item(sal_uInt16 which, sal_Int32 nTheValue): - SfxPoolItem(which), m_nValue(nTheValue) + CntInt32Item(sal_uInt16 which, sal_Int32 nTheValue, SfxItemType eItemType = SfxItemType::CntInt32ItemType): + SfxPoolItem(which, eItemType), m_nValue(nTheValue) {} virtual bool operator ==(const SfxPoolItem & rItem) const override; @@ -140,8 +140,8 @@ class SVL_DLLPUBLIC CntUInt32Item: public SfxPoolItem public: - CntUInt32Item(sal_uInt16 which, sal_uInt32 nTheValue): - SfxPoolItem(which), m_nValue(nTheValue) + CntUInt32Item(sal_uInt16 which, sal_uInt32 nTheValue, SfxItemType eItemType = SfxItemType::CntUInt32ItemType): + SfxPoolItem(which, eItemType), m_nValue(nTheValue) {} virtual bool operator ==(const SfxPoolItem & rItem) const override; |