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/storbase.hxx | |
parent | 0ae79a13686f2c17e6e4bda89b21fe78b5466201 (diff) |
use SimpleReferenceObject in stoc module
to replace hand-rolled version
Change-Id: I30635aec81313e4e0d1b67b30c8992fd63bb1f67
Diffstat (limited to 'store/source/storbase.hxx')
-rw-r--r-- | store/source/storbase.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx index 1c6205c5ea44..2b74bf057bc5 100644 --- a/store/source/storbase.hxx +++ b/store/source/storbase.hxx @@ -21,6 +21,7 @@ #define INCLUDED_STORE_SOURCE_STORBASE_HXX #include "sal/config.h" +#include "salhelper/simplereferenceobject.hxx" #include "boost/static_assert.hpp" #include "sal/types.h" @@ -454,7 +455,7 @@ struct PageData /** Allocation. */ class Allocator_Impl; - class Allocator : public rtl::IReference + class Allocator : public virtual salhelper::SimpleReferenceObject { public: template< class T > T * construct() @@ -483,7 +484,7 @@ struct PageData rtl::Reference< PageData::Allocator > & rxAllocator, sal_uInt16 nPageSize); protected: - ~Allocator() {} + virtual ~Allocator() {} private: /** Implementation (abstract). |