summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 15:06:29 +0200
committerNoel Grandin <noel@peralex.com>2016-01-14 08:50:43 +0200
commitde70170ace52c0266bde7b5d6cb9b6958db53c43 (patch)
tree4b22144cb951b6198d4d6f8d7a58733585a17ad3 /store
parent8c3ba5aa8de964313885afcdec06ef33a5c6a23a (diff)
loplugin:unusedmethods unused return value in store,svl
Change-Id: I369b3ae84af046242430977cec7d5c5e69fc27e7
Diffstat (limited to 'store')
-rw-r--r--store/source/storbase.hxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx
index 05bc66e6581e..db98c3e6e1c9 100644
--- a/store/source/storbase.hxx
+++ b/store/source/storbase.hxx
@@ -261,19 +261,7 @@ struct OStorePageDescriptor
(m_nSize == rhs.m_nSize) );
}
- bool operator<= (const OStorePageDescriptor & rhs) const
- {
- return ((m_nAddr == rhs.m_nAddr ) &&
- (store::ntohs(m_nSize) <= store::ntohs(rhs.m_nSize)) );
- }
- bool operator< (const OStorePageDescriptor & rhs) const
- {
- if (m_nAddr == rhs.m_nAddr)
- return (store::ntohs(m_nSize) < store::ntohs(rhs.m_nSize));
- else
- return (store::ntohl(m_nAddr) < store::ntohl(rhs.m_nAddr));
- }
};
/*========================================================================
@@ -368,11 +356,6 @@ struct OStorePageLink
return (m_nAddr == rhs.m_nAddr);
}
- bool operator< (const OStorePageLink& rhs) const
- {
- return (store::ntohl(m_nAddr) < store::ntohl(rhs.m_nAddr));
- }
-
/** Operation.
*/
sal_uInt32 location() const
@@ -599,17 +582,6 @@ public:
OSL_PRECOND(m_pagedata != nullptr, "store::PageHolder::operator->(): Null pointer");
return m_pagedata;
}
-
- PageData & operator*()
- {
- OSL_PRECOND(m_pagedata != nullptr, "store::PageHolder::operator*(): Null pointer");
- return *m_pagedata;
- }
- PageData const & operator*() const
- {
- OSL_PRECOND(m_pagedata != nullptr, "store::PageHolder::operator*(): Null pointer");
- return *m_pagedata;
- }
};
/*========================================================================