summaryrefslogtreecommitdiff
path: root/include/svx/sdasitm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/sdasitm.hxx')
-rw-r--r--include/svx/sdasitm.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/svx/sdasitm.hxx b/include/svx/sdasitm.hxx
index 44bdfbc714d6..3e2623b0ca76 100644
--- a/include/svx/sdasitm.hxx
+++ b/include/svx/sdasitm.hxx
@@ -89,7 +89,10 @@ inline SdrOnOffItem makeSdrTextWordWrapItem( bool bAuto ) {
inline size_t SdrCustomShapeGeometryItem::PropertyPairHash::operator()( const SdrCustomShapeGeometryItem::PropertyPair &r1 ) const
{
- return static_cast<size_t>(r1.first.hashCode()) + r1.second.hashCode();
+ size_t hash = 17;
+ hash = hash * 37 + r1.first.hashCode();
+ hash = hash * 37 + r1.second.hashCode();
+ return hash;
};
#endif