summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
Diffstat (limited to 'registry')
-rw-r--r--registry/source/regimpl.cxx2
-rw-r--r--registry/source/regimpl.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index e367edbe53da..75e64bc940b8 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -475,7 +475,7 @@ RegError ORegistry::initRegistry(const OUString& regName, RegAccessMode accessMo
}
else
{
- errCode = rRegFile.create(regName, sAccessMode, REG_PAGESIZE);
+ errCode = rRegFile.create(regName, sAccessMode);
}
if (errCode)
diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx
index 9abe5fbe9163..b375318f359f 100644
--- a/registry/source/regimpl.hxx
+++ b/registry/source/regimpl.hxx
@@ -28,8 +28,6 @@
#include <osl/mutex.hxx>
#include <store/store.hxx>
-#define REG_PAGESIZE 512
-
// 5 bytes = 1 (byte for the type) + 4 (bytes for the size of the data)
#define VALUE_HEADERSIZE 5
#define VALUE_TYPEOFFSET 1