summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-04 11:20:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-05 07:49:30 +0100
commite4472d3c139294499f4c0caeebd9d4e995958eb0 (patch)
tree3e62a6530f8b758dddab18981ee38cc76ecaef9e /store
parent126e5a4d5b1d6c7ba5b313786793a38f99488b33 (diff)
loplugin:unnecessaryparen include more assignments
Change-Id: I9fb8366634b31230b732dd38a98f800075529714 Reviewed-on: https://gerrit.libreoffice.org/64510 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'store')
-rw-r--r--store/source/stordata.cxx18
-rw-r--r--store/source/stortree.cxx10
2 files changed, 14 insertions, 14 deletions
diff --git a/store/source/stordata.cxx b/store/source/stordata.cxx
index 4b680a504cb1..7ce39a9c1208 100644
--- a/store/source/stordata.cxx
+++ b/store/source/stordata.cxx
@@ -214,7 +214,7 @@ storeError OStoreIndirectionPageObject::read (
OStorePageBIOS &rBIOS) const
{
PageHolderObject< page > xImpl (m_xPage);
- page const & rPage = (*xImpl);
+ page const & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
@@ -240,7 +240,7 @@ storeError OStoreIndirectionPageObject::read (
OStorePageBIOS &rBIOS) const
{
PageHolderObject< page > xImpl (m_xPage);
- page const & rPage = (*xImpl);
+ page const & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
@@ -273,7 +273,7 @@ storeError OStoreIndirectionPageObject::read (
OStorePageBIOS &rBIOS) const
{
PageHolderObject< page > xImpl (m_xPage);
- page const & rPage = (*xImpl);
+ page const & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
@@ -304,7 +304,7 @@ storeError OStoreIndirectionPageObject::write (
OStorePageBIOS &rBIOS)
{
PageHolderObject< page > xImpl (m_xPage);
- page & rPage = (*xImpl);
+ page & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
@@ -343,7 +343,7 @@ storeError OStoreIndirectionPageObject::write (
OStorePageBIOS &rBIOS)
{
PageHolderObject< page > xImpl (m_xPage);
- page & rPage = (*xImpl);
+ page & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
@@ -379,7 +379,7 @@ storeError OStoreIndirectionPageObject::write (
OStorePageBIOS &rBIOS)
{
PageHolderObject< page > xImpl (m_xPage);
- page & rPage = (*xImpl);
+ page & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
@@ -412,7 +412,7 @@ storeError OStoreIndirectionPageObject::truncate (
OStorePageBIOS & rBIOS)
{
PageHolderObject< page > xImpl (m_xPage);
- page & rPage = (*xImpl);
+ page & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
@@ -458,7 +458,7 @@ storeError OStoreIndirectionPageObject::truncate (
OStorePageBIOS &rBIOS)
{
PageHolderObject< page > xImpl (m_xPage);
- page & rPage = (*xImpl);
+ page & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
@@ -513,7 +513,7 @@ storeError OStoreIndirectionPageObject::truncate (
OStorePageBIOS &rBIOS)
{
PageHolderObject< page > xImpl (m_xPage);
- page & rPage = (*xImpl);
+ page & rPage = *xImpl;
// Check arguments.
sal_uInt16 const nLimit = rPage.capacityCount();
diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx
index 526191153bdb..87378794ba5b 100644
--- a/store/source/stortree.cxx
+++ b/store/source/stortree.cxx
@@ -224,7 +224,7 @@ storeError OStoreBTreeNodeObject::remove (
OStorePageBIOS & rBIOS)
{
PageHolderObject< page > xImpl (m_xPage);
- page & rPage = (*xImpl);
+ page & rPage = *xImpl;
// Check depth.
storeError eErrCode = store_E_None;
@@ -397,7 +397,7 @@ storeError OStoreBTreeRootObject::find_lookup (
for (; xPage->depth() > 0; xPage = rNode.makeHolder< page >())
{
// Find next page.
- page const & rPage = (*xPage);
+ page const & rPage = *xPage;
sal_uInt16 const i = rPage.find(entry);
sal_uInt16 const n = rPage.usageCount();
if (i >= n)
@@ -421,7 +421,7 @@ storeError OStoreBTreeRootObject::find_lookup (
}
// Find index.
- page const & rPage = (*xPage);
+ page const & rPage = *xPage;
rIndex = rPage.find(entry);
if (rIndex >= rPage.usageCount())
return store_E_NotExists;
@@ -482,7 +482,7 @@ storeError OStoreBTreeRootObject::find_insert (
for (; xPage->depth() > 0; xPage = rNode.makeHolder< page >())
{
// Find next page.
- page const & rPage = (*xPage);
+ page const & rPage = *xPage;
sal_uInt16 const i = rPage.find (entry);
sal_uInt16 const n = rPage.usageCount();
if (i >= n)
@@ -524,7 +524,7 @@ storeError OStoreBTreeRootObject::find_insert (
}
// Find index.
- page const & rPage = (*xPage);
+ page const & rPage = *xPage;
rIndex = rPage.find(entry);
if (rIndex < rPage.usageCount())
{