diff options
Diffstat (limited to 'include/svx/xcolit.hxx')
-rw-r--r-- | include/svx/xcolit.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/xcolit.hxx b/include/svx/xcolit.hxx index a89a1f37e97f..8f3594a8e70f 100644 --- a/include/svx/xcolit.hxx +++ b/include/svx/xcolit.hxx @@ -35,10 +35,10 @@ class SVXCORE_DLLPUBLIC XColorItem : public NameOrIndex public: static SfxPoolItem* CreateDefault(); - XColorItem() {} - XColorItem(TypedWhichId<XColorItem> nWhich, sal_Int32 nIndex, const Color& rTheColor); - XColorItem(TypedWhichId<XColorItem> nWhich, const Color& rTheColor); - XColorItem(TypedWhichId<XColorItem> nWhich, const OUString& rName, const Color& rTheColor); + XColorItem(SfxItemType eItemType = SfxItemType::XColorItemType) : NameOrIndex(eItemType) {} + XColorItem(TypedWhichId<XColorItem> nWhich, sal_Int32 nIndex, const Color& rTheColor, SfxItemType eItemType = SfxItemType::XColorItemType); + XColorItem(TypedWhichId<XColorItem> nWhich, const Color& rTheColor, SfxItemType eItemType = SfxItemType::XColorItemType); + XColorItem(TypedWhichId<XColorItem> nWhich, const OUString& rName, const Color& rTheColor, SfxItemType eItemType = SfxItemType::XColorItemType); XColorItem(const XColorItem& rItem); virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; |