summaryrefslogtreecommitdiff
path: root/store/source/lockbyte.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/lockbyte.hxx')
-rw-r--r--store/source/lockbyte.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/store/source/lockbyte.hxx b/store/source/lockbyte.hxx
index 1a864ad1575b..b92e8b470d61 100644
--- a/store/source/lockbyte.hxx
+++ b/store/source/lockbyte.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_STORE_SOURCE_LOCKBYTE_HXX
#define INCLUDED_STORE_SOURCE_LOCKBYTE_HXX
+#include <sal/config.h>
+
+#include <memory>
+
#include "sal/types.h"
#include "rtl/ref.hxx"
@@ -53,7 +57,7 @@ public:
@param nOffset [in]
*/
storeError readPageAt (
- PageHolder & rPage,
+ std::shared_ptr<PageData> & rPage,
sal_uInt32 nOffset);
/**
@@ -61,7 +65,7 @@ public:
@param nOffset [in]
*/
storeError writePageAt (
- PageHolder const & rPage,
+ std::shared_ptr<PageData> const & rPage,
sal_uInt32 nOffset);
/**
@@ -114,11 +118,11 @@ private:
sal_uInt16 nPageSize) = 0;
virtual storeError readPageAt_Impl (
- PageHolder & rPage,
+ std::shared_ptr<PageData> & rPage,
sal_uInt32 nOffset) = 0;
virtual storeError writePageAt_Impl (
- PageHolder const & rPage,
+ std::shared_ptr<PageData> const & rPage,
sal_uInt32 nOffset) = 0;
virtual storeError readAt_Impl (