summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-07-08 10:27:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-07-08 14:56:03 +0200
commitd3aa5853552faeb277db18598767fd7add411ebf (patch)
tree9559410b1172b71612d57221df3a563fa757db27 /include
parent343e9126f4930a7744e94a404004d2124582292d (diff)
make SvxGraphicItem hashable
Change-Id: I2cfca6f61c0247947855f40d6b1cdee521e8382d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170141 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svxgraphicitem.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/svxgraphicitem.hxx b/include/svx/svxgraphicitem.hxx
index 6d78b0980baa..47f8d1b59354 100644
--- a/include/svx/svxgraphicitem.hxx
+++ b/include/svx/svxgraphicitem.hxx
@@ -31,6 +31,8 @@ class SVX_DLLPUBLIC SvxGraphicItem final : public SfxPoolItem
public:
SvxGraphicItem( Graphic aGraphic);
+ virtual bool isHashable() const override;
+ virtual size_t hashCode() const override;
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SvxGraphicItem* Clone( SfxItemPool *pPool = nullptr ) const override;