diff options
Diffstat (limited to 'include/xmloff/nmspmap.hxx')
-rw-r--r-- | include/xmloff/nmspmap.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/xmloff/nmspmap.hxx b/include/xmloff/nmspmap.hxx index e6875b1c8a39..234b5e4dda2a 100644 --- a/include/xmloff/nmspmap.hxx +++ b/include/xmloff/nmspmap.hxx @@ -55,7 +55,10 @@ struct QNamePairHash { size_t operator()( const QNamePair &r1 ) const { - return r1.first * 37 + r1.second.hashCode(); + size_t hash = 17; + hash = hash * 37 + r1.first; + hash = hash * 37 + r1.second.hashCode(); + return hash; } }; |