summaryrefslogtreecommitdiff
path: root/include/svx/sdynitm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/sdynitm.hxx')
-rw-r--r--include/svx/sdynitm.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/sdynitm.hxx b/include/svx/sdynitm.hxx
index 970956a42cee..08884c3404d2 100644
--- a/include/svx/sdynitm.hxx
+++ b/include/svx/sdynitm.hxx
@@ -29,7 +29,8 @@
//-------------------------------------------------- ----------
class SVXCORE_DLLPUBLIC SdrYesNoItem: public SfxBoolItem {
public:
- SdrYesNoItem(TypedWhichId<SdrYesNoItem> nId, bool bOn): SfxBoolItem(nId,bOn) {}
+ SdrYesNoItem(TypedWhichId<SdrYesNoItem> nId, bool bOn, SfxItemType eItemType = SfxItemType::SdrYesNoItemType)
+ : SfxBoolItem(nId, bOn, eItemType) {}
virtual SdrYesNoItem* Clone(SfxItemPool* pPool=nullptr) const override;
virtual OUString GetValueTextByVal(bool bVal) const override;
virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override;