summaryrefslogtreecommitdiff
path: root/include/svl/stritem.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl/stritem.hxx')
-rw-r--r--include/svl/stritem.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/svl/stritem.hxx b/include/svl/stritem.hxx
index fe3695f7947bd..1b788c05bdf59 100644
--- a/include/svl/stritem.hxx
+++ b/include/svl/stritem.hxx
@@ -29,10 +29,11 @@ class SVL_DLLPUBLIC SfxStringItem: public CntUnencodedStringItem
public:
static SfxPoolItem* CreateDefault();
- SfxStringItem(sal_uInt16 which = 0): CntUnencodedStringItem(which) {}
+ SfxStringItem(sal_uInt16 which = 0, SfxItemType eItemType = SfxItemType::SfxStringItemType)
+ : CntUnencodedStringItem(which, eItemType) {}
- SfxStringItem(sal_uInt16 which, const OUString & rValue):
- CntUnencodedStringItem(which, rValue) {}
+ SfxStringItem(sal_uInt16 which, const OUString & rValue, SfxItemType eItemType = SfxItemType::SfxStringItemType):
+ CntUnencodedStringItem(which, rValue, eItemType) {}
virtual SfxStringItem* Clone(SfxItemPool * = nullptr) const override;