tdf#158556 make SfxInt16Item hashable

Change-Id: Id4e6feb4d0072a204d68e5dc834c6828221ea617
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172263
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2024-08-22 16:25:56 +02:00
parent fc37b184ee
commit 086fd5d0de

View file

@ -51,6 +51,8 @@ public:
{}
virtual bool operator ==(const SfxPoolItem & rItem) const override;
virtual bool supportsHashCode() const override { return true; }
virtual size_t hashCode() const override { return m_nValue; }
virtual bool GetPresentation(SfxItemPresentation,
MapUnit, MapUnit,