diff options
Diffstat (limited to 'include/svx/xflgrit.hxx')
-rw-r--r-- | include/svx/xflgrit.hxx | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/include/svx/xflgrit.hxx b/include/svx/xflgrit.hxx index 0e02813d968d..90d5bb3eabef 100644 --- a/include/svx/xflgrit.hxx +++ b/include/svx/xflgrit.hxx @@ -33,12 +33,22 @@ class SVXCORE_DLLPUBLIC XFillGradientItem : public NameOrIndex basegfx::BGradient m_aGradient; public: - static SfxPoolItem* CreateDefault(); - XFillGradientItem() : NameOrIndex(XATTR_FILLGRADIENT, -1, SfxItemType::XFillGradientItemType) {} - XFillGradientItem(sal_Int32 nIndex, const basegfx::BGradient& rTheGradient); - XFillGradientItem(const OUString& rName, const basegfx::BGradient& rTheGradient, TypedWhichId<XFillGradientItem> nWhich = XATTR_FILLGRADIENT); - XFillGradientItem(const basegfx::BGradient& rTheGradient); - XFillGradientItem(const XFillGradientItem& rItem); + static SfxPoolItem* CreateDefault(); + XFillGradientItem(TypedWhichId<XFillGradientItem> nWhich = XATTR_FILLGRADIENT, + SfxItemType eItemType = SfxItemType::XFillGradientItemType) + : NameOrIndex(nWhich, -1, eItemType) {} + XFillGradientItem(sal_Int32 nIndex, + const basegfx::BGradient& rTheGradient, + TypedWhichId<XFillGradientItem> nWhich = XATTR_FILLGRADIENT, + SfxItemType eItemType = SfxItemType::XFillGradientItemType); + XFillGradientItem(const OUString& rName, + const basegfx::BGradient& rTheGradient, + TypedWhichId<XFillGradientItem> nWhich = XATTR_FILLGRADIENT, + SfxItemType eItemType = SfxItemType::XFillGradientItemType); + XFillGradientItem(const basegfx::BGradient& rTheGradient, + TypedWhichId<XFillGradientItem> nWhich = XATTR_FILLGRADIENT, + SfxItemType eItemType = SfxItemType::XFillGradientItemType); + XFillGradientItem(const XFillGradientItem& rItem); virtual bool operator==(const SfxPoolItem& rItem) const override; virtual XFillGradientItem* Clone(SfxItemPool* pPool = nullptr) const override; |