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 /svx/source/items | |
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 'svx/source/items')
-rw-r--r-- | svx/source/items/postattr.cxx | 4 | ||||
-rw-r--r-- | svx/source/items/statusitem.cxx | 2 | ||||
-rw-r--r-- | svx/source/items/viewlayoutitem.cxx | 2 | ||||
-rw-r--r-- | svx/source/items/zoomslideritem.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/items/postattr.cxx b/svx/source/items/postattr.cxx index 267c2cd9ad18..09c3f606c03b 100644 --- a/svx/source/items/postattr.cxx +++ b/svx/source/items/postattr.cxx @@ -66,13 +66,13 @@ SvxPostItAuthorItem* SvxPostItAuthorItem::Clone( SfxItemPool * ) const } SvxPostItDateItem::SvxPostItDateItem( TypedWhichId<SvxPostItDateItem> _nWhich ) - : SfxStringItem(_nWhich) + : SfxStringItem(_nWhich, SfxItemType::SvxPostItDateItemType) { } SvxPostItDateItem::SvxPostItDateItem( const OUString& rDate, TypedWhichId<SvxPostItDateItem> _nWhich ) : - SfxStringItem( _nWhich, rDate ) + SfxStringItem( _nWhich, rDate, SfxItemType::SvxPostItDateItemType ) { } diff --git a/svx/source/items/statusitem.cxx b/svx/source/items/statusitem.cxx index e2e1c74307dc..5d8a74dbe19d 100644 --- a/svx/source/items/statusitem.cxx +++ b/svx/source/items/statusitem.cxx @@ -19,7 +19,7 @@ constexpr int STATUS_PARAMS = 2; SvxStatusItem::SvxStatusItem(TypedWhichId<SvxStatusItem> nWhich, const OUString& rString, StatusCategory eCategory) - : SfxStringItem(nWhich, rString) + : SfxStringItem(nWhich, rString, SfxItemType::SvxStatusItemType) , m_eCategory(eCategory) { } diff --git a/svx/source/items/viewlayoutitem.cxx b/svx/source/items/viewlayoutitem.cxx index 78a03efb5edd..2761dced30d7 100644 --- a/svx/source/items/viewlayoutitem.cxx +++ b/svx/source/items/viewlayoutitem.cxx @@ -40,7 +40,7 @@ SvxViewLayoutItem::SvxViewLayoutItem bool bBookMode, TypedWhichId<SvxViewLayoutItem> _nWhich ) -: SfxUInt16Item( _nWhich, nColumns ), +: SfxUInt16Item( _nWhich, nColumns, SfxItemType::SvxViewLayoutItemType ), mbBookMode( bBookMode ) { } diff --git a/svx/source/items/zoomslideritem.cxx b/svx/source/items/zoomslideritem.cxx index bd7313904710..042b9f4a5947 100644 --- a/svx/source/items/zoomslideritem.cxx +++ b/svx/source/items/zoomslideritem.cxx @@ -36,7 +36,7 @@ constexpr OUString ZOOMSLIDER_PARAM_MAXZOOM = u"MaxValue"_ustr; SvxZoomSliderItem::SvxZoomSliderItem( sal_uInt16 nCurrentZoom, sal_uInt16 nMinZoom, sal_uInt16 nMaxZoom, TypedWhichId<SvxZoomSliderItem> _nWhich ) -: SfxUInt16Item( _nWhich, nCurrentZoom ), mnMinZoom( nMinZoom ), mnMaxZoom( nMaxZoom ) +: SfxUInt16Item( _nWhich, nCurrentZoom, SfxItemType::SvxZoomSliderItemType ), mnMinZoom( nMinZoom ), mnMaxZoom( nMaxZoom ) { } |