diff options
author | Noel Grandin <noel@peralex.com> | 2014-07-09 13:43:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-07-10 11:04:13 +0200 |
commit | bc30f938c0d27ee1ae20b0c10d3d8840557b2e93 (patch) | |
tree | 0a77d8983bcb74f763e08fc0f35b6c0d478416db /store/source/storcach.cxx | |
parent | 0ae79a13686f2c17e6e4bda89b21fe78b5466201 (diff) |
use SimpleReferenceObject in stoc module
to replace hand-rolled version
Change-Id: I30635aec81313e4e0d1b67b30c8992fd63bb1f67
Diffstat (limited to 'store/source/storcach.cxx')
-rw-r--r-- | store/source/storcach.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx index f7738f1676c3..6ddb2db389dc 100644 --- a/store/source/storcach.cxx +++ b/store/source/storcach.cxx @@ -274,10 +274,6 @@ public: // Construction explicit PageCache_Impl (sal_uInt16 nPageSize); - // Delegate multiple inherited IReference - virtual oslInterlockedCount SAL_CALL acquire() SAL_OVERRIDE; - virtual oslInterlockedCount SAL_CALL release() SAL_OVERRIDE; - protected: // Destruction virtual ~PageCache_Impl (void); @@ -330,16 +326,6 @@ PageCache_Impl::~PageCache_Impl() OSL_TRACE("Hits: %zu, Misses: %zu", m_nHit, m_nMissed); } -oslInterlockedCount PageCache_Impl::acquire() -{ - return OStoreObject::acquire(); -} - -oslInterlockedCount PageCache_Impl::release() -{ - return OStoreObject::release(); -} - void PageCache_Impl::rescale_Impl (sal_Size new_size) { sal_Size new_bytes = new_size * sizeof(Entry*); |