summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/paraitem.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index 3978db4bc6d5..3bdec7afbf1d 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -377,6 +377,16 @@ bool SvxAdjustItem::operator==( const SfxPoolItem& rAttr ) const
bLastBlock == rItem.bLastBlock;
}
+size_t SvxAdjustItem::hashCode() const
+{
+ std::size_t seed(0);
+ o3tl::hash_combine(seed, GetAdjust());
+ o3tl::hash_combine(seed, bOneBlock);
+ o3tl::hash_combine(seed, bLastCenter);
+ o3tl::hash_combine(seed, bLastBlock);
+ return seed;
+}
+
bool SvxAdjustItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
{
nMemberId &= ~CONVERT_TWIPS;