diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-29 09:09:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-29 12:01:58 +0200 |
commit | e70460f59056b0a4957b534ab26b5c64eb94926c (patch) | |
tree | ca92d9c98863919eec09be5e361f1a86ef71fa17 /include/xmloff/nmspmap.hxx | |
parent | d14cd26011bcd8c9efc448bbcbd71bb468906177 (diff) |
revert bits of "loplugin:sequentialassign"
from
commit 0d36b32755ac662299e6a8165e9fa57311b74a2f
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Sun Jul 28 12:03:35 2019 +0200
loplugin:sequentialassign
which were false positives and not meant to be committed
Change-Id: I6f2f185bd3564c9329f5a0c78c9020f3ddb52d34
Reviewed-on: https://gerrit.libreoffice.org/76518
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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; } }; |