summaryrefslogtreecommitdiff
path: root/include/sfx2/evntconf.hxx
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2024-05-22 12:26:46 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-06-19 23:32:20 +0200
commit04a5157e9526c1570034fc88973a061138b133ea (patch)
tree8fa13473284d737147828fb0898c9abca7c9a86d /include/sfx2/evntconf.hxx
parent60c00a1d12fe531dbec8c285eaf8bfa02684be3c (diff)
Add SfxItemType to SfxPoolItem cib_contract49c-24.2.4.2.M1
The SfxPoolItem has a new member SfxItemType m_eItemType to compare types based on enums instead of typeinfo() which consumes a lot of time e.g. while AutoFormat is running Change-Id: I033ce67bc9a28ee4790f162380314de85fb4154e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166452 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de> Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169185 Tested-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'include/sfx2/evntconf.hxx')
-rw-r--r--include/sfx2/evntconf.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/evntconf.hxx b/include/sfx2/evntconf.hxx
index 6716678813d1..81d0ee391445 100644
--- a/include/sfx2/evntconf.hxx
+++ b/include/sfx2/evntconf.hxx
@@ -70,7 +70,8 @@ class SFX2_DLLPUBLIC SfxEventNamesItem final : public SfxPoolItem
public:
- SfxEventNamesItem ( const sal_uInt16 nId ) : SfxPoolItem( nId ) {}
+ SfxEventNamesItem ( const sal_uInt16 nId )
+ : SfxPoolItem( nId, SfxItemType::SfxEventNamesItemType ) {}
virtual bool operator==( const SfxPoolItem& ) const override;
virtual bool GetPresentation( SfxItemPresentation ePres,