summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
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);
-}
/*========================================================================
*