diff options
Diffstat (limited to 'store')
-rw-r--r-- | store/source/storcach.cxx | 4 | ||||
-rw-r--r-- | store/source/stortree.cxx | 6 |
2 files changed, 5 insertions, 5 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) diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx index 149982438f4e..04bcd89dd9bf 100644 --- a/store/source/stortree.cxx +++ b/store/source/stortree.cxx @@ -57,12 +57,12 @@ OStoreBTreeNodeData::OStoreBTreeNodeData (sal_uInt16 nPageSize) */ sal_uInt16 OStoreBTreeNodeData::find (const T& t) const { - register sal_Int32 l = 0; - register sal_Int32 r = usageCount() - 1; + sal_Int32 l = 0; + sal_Int32 r = usageCount() - 1; while (l < r) { - register sal_Int32 const m = ((l + r) >> 1); + sal_Int32 const m = ((l + r) >> 1); if (t.m_aKey == m_pData[m].m_aKey) return ((sal_uInt16)(m)); |