summaryrefslogtreecommitdiff
path: root/store/source/storcach.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-06-20 10:54:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-06-20 10:54:20 +0200
commit104a7bab5806aad5dfc8afb5637ca4363e05443a (patch)
treefc01542ddc022eea1fe48c289f61151cd616ad43 /store/source/storcach.cxx
parenta9966b272151fa66c4a7c74bcb2505ef2ea94a6e (diff)
-Werror,-Wdeprecated-register
Change-Id: I1ec3d7845477cfb5bc6a3d7f70ddabef12583e1b
Diffstat (limited to 'store/source/storcach.cxx')
-rw-r--r--store/source/storcach.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx
index 481177e0c831..e2ac68b68dc5 100644
--- a/store/source/storcach.cxx
+++ b/store/source/storcach.cxx
@@ -222,7 +222,7 @@ void EntryCache::destroy (Entry * entry)
*======================================================================*/
static int highbit(sal_Size n)
{
- register int k = 1;
+ int k = 1;
if (n == 0)
return (0);
@@ -420,7 +420,7 @@ void PageCache_Impl::rescale_Impl (sal_Size new_size)
Entry * PageCache_Impl::lookup_Impl (Entry * entry, sal_uInt32 nOffset)
{
- register int lookups = 0;
+ int lookups = 0;
while (entry != 0)
{
if (entry->m_nOffset == nOffset)