diff options
Diffstat (limited to 'include/svl/custritm.hxx')
-rw-r--r-- | include/svl/custritm.hxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/svl/custritm.hxx b/include/svl/custritm.hxx index 3159c41dfc96..0251df2ca182 100644 --- a/include/svl/custritm.hxx +++ b/include/svl/custritm.hxx @@ -31,11 +31,12 @@ class SVL_DLLPUBLIC CntUnencodedStringItem: public SfxPoolItem public: - CntUnencodedStringItem(sal_uInt16 which): SfxPoolItem(which) + CntUnencodedStringItem(sal_uInt16 which, SfxItemType eItemType = SfxItemType::CntUnencodedStringItemType) + : SfxPoolItem(which, eItemType) {} - CntUnencodedStringItem(sal_uInt16 which, OUString aTheValue): - SfxPoolItem(which), m_aValue(std::move(aTheValue)) + CntUnencodedStringItem(sal_uInt16 which, OUString aTheValue, SfxItemType eItemType = SfxItemType::CntUnencodedStringItemType): + SfxPoolItem(which, eItemType), m_aValue(std::move(aTheValue)) {} virtual bool operator ==(const SfxPoolItem & rItem) const override; |