summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-29 12:40:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-30 05:58:41 +0000
commitc7e8f21a538c409abe70b90d7bba38386e90a876 (patch)
treec5d1e79d88c5728c29fa49106b0e7c40e0f5f01d /store
parentefbde08e2a9930edb4637824d9d3a768873314a8 (diff)
loplugin:unusedmethods
Change-Id: Id3b5cd75d4357336ed592ef11a3f34d209f8e95f Reviewed-on: https://gerrit.libreoffice.org/19636 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'store')
-rw-r--r--store/source/storbios.cxx21
-rw-r--r--store/source/storbios.hxx11
2 files changed, 0 insertions, 32 deletions
diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx
index a1d863d18ce8..039aeb89e585 100644
--- a/store/source/storbios.cxx
+++ b/store/source/storbios.cxx
@@ -971,25 +971,4 @@ storeError OStorePageBIOS::flush()
return m_xLockBytes->flush();
}
-/*
- * size.
- * Precond: initialized.
- */
-storeError OStorePageBIOS::size (sal_uInt32 &rnSize)
-{
- // Acquire exclusive access.
- osl::MutexGuard aGuard (m_aMutex);
-
- // Initialize [out] param.
- rnSize = 0;
-
- // Check precond.
- if (!m_xLockBytes.is())
- return store_E_InvalidAccess;
-
- // Obtain LockBytes size.
- return m_xLockBytes->getSize (rnSize);
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/store/source/storbios.hxx b/store/source/storbios.hxx
index 2c93acd1126b..3dec2a8fb13e 100644
--- a/store/source/storbios.hxx
+++ b/store/source/storbios.hxx
@@ -124,10 +124,6 @@ public:
*/
storeError flush();
- /** size.
- */
- storeError size (sal_uInt32 &rnSize);
-
/** ScanContext.
*/
struct ScanContext
@@ -142,9 +138,6 @@ public:
*/
inline ScanContext();
- /** isValid.
- */
- inline bool isValid() const;
};
protected:
@@ -226,10 +219,6 @@ inline OStorePageBIOS::ScanContext::ScanContext()
: m_aDescr (0, 0, 0), m_nSize (0), m_nMagic (0)
{
}
-inline bool OStorePageBIOS::ScanContext::isValid() const
-{
- return (m_aDescr.m_nAddr < m_nSize);
-}
/*========================================================================
*