summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-09 11:06:42 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-09-09 11:27:23 +0000
commitcb958bb5e0e81d343c91c08a8513006a7bf1d913 (patch)
tree376b6bdfd1e4be0851f5eba9092588cfde451945 /registry
parentf4fcec5f0802620192c31aad24db436ead1b2036 (diff)
loplugin:constantparam in sot..svl
Change-Id: I08db2db3b90725c556e3ba062da5d62d98f6e882 Reviewed-on: https://gerrit.libreoffice.org/28769 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
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