diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-07-26 13:24:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-07-26 15:33:37 +0200 |
commit | 8e03fced7ce1a3c45e8e48090373f85cc11c1fad (patch) | |
tree | 38e1aa988762eb891ccf35275f7412d461e41325 /include/svx/xcolit.hxx | |
parent | 8cfb92737336200ac31be358d2f757a6e779b6a4 (diff) |
fix in some missing SfxItemTypes
Change-Id: I7dcb9768a8cd63200b8f8c50d8170e78ff5aeec2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171068
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
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; |