summaryrefslogtreecommitdiff
path: root/store/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-06 12:19:57 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 08:26:01 +0200
commite5dd156a44625865684b5dfa90a95108259deb50 (patch)
treebb0da749c95d7fb1929f2c7d8757a53e73720807 /store/source
parent4cbcec9ed4c51277b00c155a5fa097880c0dee4b (diff)
loplugin:constantparam
Change-Id: Ie690088d7a7d568703afd22f544628fc8012a7e1
Diffstat (limited to 'store/source')
-rw-r--r--store/source/storbase.hxx4
-rw-r--r--store/source/stortree.hxx5
2 files changed, 4 insertions, 5 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx
index db98c3e6e1c9..3cc2bc54a6e7 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -174,9 +174,9 @@ struct OStorePageGuard
/** Construction.
*/
- explicit OStorePageGuard (sal_uInt32 nMagic = 0, sal_uInt32 nCRC32 = 0)
+ explicit OStorePageGuard (sal_uInt32 nMagic = 0)
: m_nMagic (store::htonl(nMagic)),
- m_nCRC32 (store::htonl(nCRC32))
+ m_nCRC32 (store::htonl(0))
{}
void swap (OStorePageGuard & rhs)
diff --git a/store/source/stortree.hxx b/store/source/stortree.hxx
index 94e61a11bd24..1146859aa1f4 100644
--- a/store/source/stortree.hxx
+++ b/store/source/stortree.hxx
@@ -53,11 +53,10 @@ struct OStoreBTreeEntry
*/
explicit OStoreBTreeEntry (
K const & rKey = K(),
- L const & rLink = L(),
- sal_uInt32 nAttrib = 0)
+ L const & rLink = L())
: m_aKey (rKey),
m_aLink (rLink),
- m_nAttrib (store::htonl(nAttrib))
+ m_nAttrib (store::htonl(0))
{}
OStoreBTreeEntry (const OStoreBTreeEntry & rhs)