diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-14 10:52:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-14 10:53:30 +0200 |
commit | faf4bf0c3e017b9caec27a1f7355c9cf636bf19b (patch) | |
tree | eec729652be79c6733b3461265d65697bc340066 /store/source | |
parent | e9f28d0d98fef5aff63131a8e1c3395da0a422ad (diff) |
loplugin:countusersofdefaultparams in sot..svtools
Change-Id: Ifce19de3518f3eaf5a1b6439f9053feee4a33c14
Diffstat (limited to 'store/source')
-rw-r--r-- | store/source/storbase.hxx | 6 | ||||
-rw-r--r-- | store/source/storcach.cxx | 2 | ||||
-rw-r--r-- | store/source/stordata.hxx | 2 | ||||
-rw-r--r-- | store/source/stortree.hxx | 2 |
4 files changed, 6 insertions, 6 deletions
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<PageData> const & rxPage = std::shared_ptr<PageData>(), sal_uInt32 nOffset = STORE_PAGE_NULL) + explicit Entry (std::shared_ptr<PageData> 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). */ |