diff options
Diffstat (limited to 'include/svl/stritem.hxx')
-rw-r--r-- | include/svl/stritem.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svl/stritem.hxx b/include/svl/stritem.hxx index 270a6cdde41a..977f4bddc7b0 100644 --- a/include/svl/stritem.hxx +++ b/include/svl/stritem.hxx @@ -36,6 +36,10 @@ public: SfxPoolItem(which, eItemType), m_aValue(rValue) {} virtual bool operator ==(const SfxPoolItem & rItem) const override; + // Note that all the subclasses are currently marked as false since we haven't check them to + // be safe under hashing + virtual bool supportsHashCode() const override { return true; } + virtual size_t hashCode() const override { return m_aValue.hashCode(); } virtual bool GetPresentation(SfxItemPresentation, MapUnit, MapUnit, |