Kaydet (Commit) 1497dd97 authored tarafından Noel Grandin's avatar Noel Grandin

tdf#42374, improve perf by fixing bug in pdfi::HashedStyle::hashCode()

which was rendering it largely useless for hashing purposes

Change-Id: Ie94457ea0a6e53fd9ceed9461656e2d3b0840d58
üst e0f3e7c0
......@@ -84,7 +84,7 @@ namespace pdfi
nRet ^= size_t(it->first.hashCode());
nRet ^= size_t(it->second.hashCode());
}
nRet = size_t(Contents.hashCode());
nRet ^= size_t(Contents.hashCode());
nRet ^= size_t(ContainedElement);
for( size_t n = 0; n < SubStyles.size(); ++n )
nRet ^= size_t(SubStyles[n]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment