From d05a451fcd8c985e860813183de0ec4dfdea0e02 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 Jul 2024 11:33:05 +0200 Subject: make SvxDoubleItem hashable Change-Id: Ia52a4ce4bd9390872a89bdea0182de697e209180 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170148 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/chrtitem.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/svx/chrtitem.hxx b/include/svx/chrtitem.hxx index eb6d42fde640..9cff3a00a0e1 100644 --- a/include/svx/chrtitem.hxx +++ b/include/svx/chrtitem.hxx @@ -142,6 +142,8 @@ public: MapUnit ePresMetric, OUString &rText, const IntlWrapper&) const override; + virtual bool isHashable() const override; + virtual size_t hashCode() const override; virtual bool operator == (const SfxPoolItem&) const override; virtual SvxDoubleItem* Clone(SfxItemPool *pPool = nullptr) const override; -- cgit