summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-07-08 11:33:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-07-08 15:32:33 +0200
commitd05a451fcd8c985e860813183de0ec4dfdea0e02 (patch)
tree8022deaaf7d8cd55f67bf1fcc0a23d1056121c0c /include
parent6d3dd30b535f7283b8f1d8a577986b47ef5528ce (diff)
make SvxDoubleItem hashable
Change-Id: Ia52a4ce4bd9390872a89bdea0182de697e209180 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170148 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/chrtitem.hxx2
1 files changed, 2 insertions, 0 deletions
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;