summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-07-08 12:57:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-07-08 19:25:53 +0200
commit7e274df5d149fc272277f234bf14d558a77d4bc1 (patch)
tree56cde0f2af9e8b171d5c21f5a7e8d1e772f657fb /sw/inc
parenta6f89b388365dab9e2df90edd1017370dc7607ea (diff)
make some of the SfxStringItem subclasses hashable
Change-Id: I7ad748b67266926f1e4e67e843a90b5ac3fe58b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170152 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/paratr.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/paratr.hxx b/sw/inc/paratr.hxx
index 3a8fd5d03674..dfe9be3afe70 100644
--- a/sw/inc/paratr.hxx
+++ b/sw/inc/paratr.hxx
@@ -164,6 +164,7 @@ public:
SwNumRuleItem(SwNumRuleItem const &) = default; // SfxPoolItem copy function dichotomy
/// "pure virtual methods" of SfxPoolItem
+ virtual bool isHashable() const override; // hashCode is defined in CntUnencodedStringItem
virtual bool operator==( const SfxPoolItem& ) const override;
virtual SwNumRuleItem* Clone( SfxItemPool *pPool = nullptr ) const override;
virtual bool GetPresentation( SfxItemPresentation ePres,