summaryrefslogtreecommitdiffstats
path: root/store/source/storcach.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/storcach.hxx')
-rw-r--r--store/source/storcach.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/storcach.hxx b/store/source/storcach.hxx
index 0a16fd813e31..65b79e1ac56d 100644
--- a/store/source/storcach.hxx
+++ b/store/source/storcach.hxx
@@ -55,7 +55,7 @@ class PageCache :
static int hash_Impl(sal_uInt32 a, size_t s, size_t q, size_t m)
{
- return static_cast<int>((((a) + ((a) >> (s)) + ((a) >> ((s) << 1))) >> (q)) & (m));
+ return static_cast<int>(((a + (a >> s) + (a >> (s << 1))) >> q) & m);
}
int hash_index_Impl (sal_uInt32 nOffset)
{