summaryrefslogtreecommitdiff
path: root/store/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-01 12:14:22 +0200
committerNoel Grandin <noel@peralex.com>2015-04-02 09:38:29 +0200
commitaa1b911b64641bbf29991af7c6f7798739aba667 (patch)
tree49f367d26ca57cc7a84dcdcca90613d6b46fed1f /store/source
parentf70d8277941ada544736abdb72548fb16e0d992d (diff)
loplugin:staticmethods
Change-Id: I1f6c6d13697aa397067478d6b07429120106e6bd
Diffstat (limited to 'store/source')
-rw-r--r--store/source/storcach.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx
index 3f9bb9d7fafa..5146ee13d979 100644
--- a/store/source/storcach.cxx
+++ b/store/source/storcach.cxx
@@ -242,7 +242,7 @@ class PageCache_Impl :
size_t m_nHit;
size_t m_nMissed;
- inline int hash_Impl(sal_uInt32 a, size_t s, size_t q, size_t m)
+ static inline int hash_Impl(sal_uInt32 a, size_t s, size_t q, size_t m)
{
return ((((a) + ((a) >> (s)) + ((a) >> ((s) << 1))) >> (q)) & (m));
}