diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-07-05 15:22:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-07-05 20:08:57 +0200 |
commit | 5e7c94c6026117ee12f72432e3ab101262586e8a (patch) | |
tree | f767bfad3cd58b3af71ac7cc5d8f15d4c7b5983b /include/editeng | |
parent | c409c83d777fdb6291c7cd03186b69fe4e7fd902 (diff) |
fill in more SfxItemType values
found by doing some git grepping, we should now have values
for all items in the hierarchy
Change-Id: I397ca7e8f53f53737201385c4c8029b436895c1d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170016
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/charrotateitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/pbinitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/rsiditem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/sizeitem.hxx | 2 | ||||
-rw-r--r-- | include/editeng/udlnitem.hxx | 3 |
5 files changed, 6 insertions, 5 deletions
diff --git a/include/editeng/charrotateitem.hxx b/include/editeng/charrotateitem.hxx index d8a773065575..42e4d5f16467 100644 --- a/include/editeng/charrotateitem.hxx +++ b/include/editeng/charrotateitem.hxx @@ -35,7 +35,7 @@ class EDITENG_DLLPUBLIC SvxTextRotateItem : public SfxUInt16Item { public: - SvxTextRotateItem(Degree10 nValue, TypedWhichId<SvxTextRotateItem> nId); + SvxTextRotateItem(Degree10 nValue, TypedWhichId<SvxTextRotateItem> nId, SfxItemType eItemType = SfxItemType::SvxTextRotateItemType); virtual SvxTextRotateItem* Clone(SfxItemPool *pPool = nullptr) const override; diff --git a/include/editeng/pbinitem.hxx b/include/editeng/pbinitem.hxx index d6bf7229b676..a4fadccb7ef3 100644 --- a/include/editeng/pbinitem.hxx +++ b/include/editeng/pbinitem.hxx @@ -50,7 +50,7 @@ public: }; inline SvxPaperBinItem::SvxPaperBinItem( const sal_uInt16 nId, const sal_uInt8 nT ) - : SfxByteItem( nId, nT ) + : SfxByteItem( nId, nT, SfxItemType::SvxPaperBinItemType ) {} #endif diff --git a/include/editeng/rsiditem.hxx b/include/editeng/rsiditem.hxx index 24213c3fa697..5c91006dcb9b 100644 --- a/include/editeng/rsiditem.hxx +++ b/include/editeng/rsiditem.hxx @@ -19,7 +19,7 @@ class EDITENG_DLLPUBLIC SvxRsidItem final : public SfxUInt32Item { public: - SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid ) {} + SvxRsidItem( sal_uInt32 nRsid, sal_uInt16 nId ) : SfxUInt32Item( nId, nRsid, SfxItemType::SvxRsidItemType ) {} virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, diff --git a/include/editeng/sizeitem.hxx b/include/editeng/sizeitem.hxx index 841846b30235..7e10873496f3 100644 --- a/include/editeng/sizeitem.hxx +++ b/include/editeng/sizeitem.hxx @@ -39,7 +39,7 @@ public: static SfxPoolItem* CreateDefault(); explicit SvxSizeItem( const sal_uInt16 nId ); - SvxSizeItem( const sal_uInt16 nId, const Size& rSize); + SvxSizeItem( const sal_uInt16 nId, const Size& rSize, SfxItemType eItemType = SfxItemType::SvxSizeItemType); // "pure virtual Methods" from SfxPoolItem virtual bool isHashable() const override; diff --git a/include/editeng/udlnitem.hxx b/include/editeng/udlnitem.hxx index b4f3107b5c7f..47c8fea73ca7 100644 --- a/include/editeng/udlnitem.hxx +++ b/include/editeng/udlnitem.hxx @@ -35,7 +35,8 @@ class EDITENG_DLLPUBLIC SvxTextLineItem : public SfxEnumItem<FontLineStyle> public: SvxTextLineItem( const FontLineStyle eSt, - const sal_uInt16 nId ); + const sal_uInt16 nId, + SfxItemType eItemType = SfxItemType::SvxTextLineItemType); // "pure virtual Methods" from SfxPoolItem virtual bool GetPresentation( SfxItemPresentation ePres, |