diff options
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). |