From faf4bf0c3e017b9caec27a1f7355c9cf636bf19b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 14 Oct 2016 10:52:44 +0200 Subject: loplugin:countusersofdefaultparams in sot..svtools Change-Id: Ifce19de3518f3eaf5a1b6439f9053feee4a33c14 --- store/source/storbase.hxx | 6 +++--- store/source/storcach.cxx | 2 +- store/source/stordata.hxx | 2 +- store/source/stortree.hxx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'store/source') diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx index 0b16fae15f34..f3224b2a9dc9 100644 --- a/store/source/storbase.hxx +++ b/store/source/storbase.hxx @@ -140,9 +140,9 @@ struct OStorePageDescriptor /** Construction. */ explicit OStorePageDescriptor ( - sal_uInt32 nAddr = STORE_PAGE_NULL, - sal_uInt16 nSize = 0, - sal_uInt16 nUsed = 0) + sal_uInt32 nAddr, + sal_uInt16 nSize, + sal_uInt16 nUsed) : m_nAddr (store::htonl(nAddr)), m_nSize (store::htons(nSize)), m_nUsed (store::htons(nUsed)) diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx index 8825d690250a..a48d3ed91a98 100644 --- a/store/source/storcach.cxx +++ b/store/source/storcach.cxx @@ -51,7 +51,7 @@ struct Entry static void operator delete (void *, void *) {} // Construction - explicit Entry (std::shared_ptr const & rxPage = std::shared_ptr(), sal_uInt32 nOffset = STORE_PAGE_NULL) + explicit Entry (std::shared_ptr const & rxPage, sal_uInt32 nOffset) : m_xPage(rxPage), m_nOffset(nOffset), m_pNext(nullptr) {} diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx index 02bddf088aaa..6c81fd6af257 100644 --- a/store/source/stordata.hxx +++ b/store/source/stordata.hxx @@ -75,7 +75,7 @@ struct OStoreDataPageData : public store::PageData /** Construction. */ - explicit OStoreDataPageData (sal_uInt16 nPageSize = self::thePageSize) + explicit OStoreDataPageData (sal_uInt16 nPageSize) : base (nPageSize) { base::m_aGuard.m_nMagic = store::htonl(self::theTypeId); diff --git a/store/source/stortree.hxx b/store/source/stortree.hxx index 114377a46cc2..69db0c3c8e9a 100644 --- a/store/source/stortree.hxx +++ b/store/source/stortree.hxx @@ -160,7 +160,7 @@ struct OStoreBTreeNodeData : public store::PageData /** Construction. */ - explicit OStoreBTreeNodeData (sal_uInt16 nPageSize = self::thePageSize); + explicit OStoreBTreeNodeData (sal_uInt16 nPageSize); /** guard (external representation). */ -- cgit