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:
parent
fc37b184ee
commit
086fd5d0de
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue