summaryrefslogtreecommitdiff
path: root/include/svx/sxctitm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/sxctitm.hxx')
-rw-r--r--include/svx/sxctitm.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/sxctitm.hxx b/include/svx/sxctitm.hxx
index 3d46f54cb0bd..f3ca502c32e3 100644
--- a/include/svx/sxctitm.hxx
+++ b/include/svx/sxctitm.hxx
@@ -29,7 +29,8 @@ enum class SdrCaptionType { Type1, Type2, Type3, Type4 };
class SVXCORE_DLLPUBLIC SdrCaptionTypeItem final : public SfxEnumItem<SdrCaptionType> {
public:
- SdrCaptionTypeItem(SdrCaptionType eStyle=SdrCaptionType::Type3): SfxEnumItem(SDRATTR_CAPTIONTYPE, eStyle) {}
+ SdrCaptionTypeItem(SdrCaptionType eStyle=SdrCaptionType::Type3)
+ : SfxEnumItem(SDRATTR_CAPTIONTYPE, SfxItemType::SdrCaptionTypeItemType, eStyle) {}
virtual SdrCaptionTypeItem* Clone(SfxItemPool* pPool=nullptr) const override;
virtual sal_uInt16 GetValueCount() const override; // { return 4; }
static OUString GetValueTextByPos(sal_uInt16 nPos);