summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
Diffstat (limited to 'store')
-rw-r--r--store/source/stordata.hxx4
-rw-r--r--store/source/stordir.cxx2
-rw-r--r--store/source/storlckb.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx
index 6c81fd6af257..33bfe0ef32ee 100644
--- a/store/source/stordata.hxx
+++ b/store/source/stordata.hxx
@@ -39,7 +39,7 @@ namespace store
* OStoreDataPageData.
*
*======================================================================*/
-#define STORE_MAGIC_DATAPAGE sal_uInt32(0x94190310)
+constexpr sal_uInt32 STORE_MAGIC_DATAPAGE(0x94190310);
struct OStoreDataPageData : public store::PageData
{
@@ -123,7 +123,7 @@ public:
* OStoreIndirectionPageData.
*
*======================================================================*/
-#define STORE_MAGIC_INDIRECTPAGE sal_uInt32(0x89191107)
+constexpr sal_uInt32 STORE_MAGIC_INDIRECTPAGE(0x89191107);
struct OStoreIndirectionPageData : public store::PageData
{
diff --git a/store/source/stordir.cxx b/store/source/stordir.cxx
index 399af1d90d42..a4847cbc719e 100644
--- a/store/source/stordir.cxx
+++ b/store/source/stordir.cxx
@@ -63,7 +63,7 @@ static inline sal_Size convertTextToUnicode (
* OStoreDirectory_Impl implementation.
*
*======================================================================*/
-const sal_uInt32 OStoreDirectory_Impl::m_nTypeId = sal_uInt32(0x89191107);
+const sal_uInt32 OStoreDirectory_Impl::m_nTypeId(0x89191107);
/*
* OStoreDirectory_Impl.
diff --git a/store/source/storlckb.cxx b/store/source/storlckb.cxx
index eacfc8b140b7..05297cd38e03 100644
--- a/store/source/storlckb.cxx
+++ b/store/source/storlckb.cxx
@@ -39,7 +39,7 @@ using namespace store;
* OStoreLockBytes implementation.
*
*======================================================================*/
-const sal_uInt32 OStoreLockBytes::m_nTypeId = sal_uInt32(0x94190310);
+const sal_uInt32 OStoreLockBytes::m_nTypeId(0x94190310);
/*
* OStoreLockBytes.