summaryrefslogtreecommitdiff
path: root/store/source/stordata.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/stordata.hxx')
-rw-r--r--store/source/stordata.hxx35
1 files changed, 0 insertions, 35 deletions
diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx
index 82b7d68b5029..2ef8d8d763e2 100644
--- a/store/source/stordata.hxx
+++ b/store/source/stordata.hxx
@@ -70,13 +70,6 @@ struct OStoreDataPageData : public store::OStorePageData
return self::capacity (base::m_aDescr);
}
- /** usage.
- */
- sal_uInt16 usage() const
- {
- return (store::ntohs(base::m_aDescr.m_nUsed) - self::thePageSize);
- }
-
/** Construction.
*/
explicit OStoreDataPageData (sal_uInt16 nPageSize = self::thePageSize)
@@ -576,26 +569,6 @@ struct OStoreDirectoryPageData : public store::OStorePageData
return (store::ntohs(base::m_aDescr.m_nSize) - self::thePageSize);
}
- /** usage.
- */
- sal_uInt16 usage() const
- {
- return (store::ntohs(base::m_aDescr.m_nUsed) - self::thePageSize);
- }
-
- /** initialize.
- */
- void initialize()
- {
- base::m_aGuard.m_nMagic = store::htonl(self::theTypeId);
- base::m_aDescr.m_nUsed = store::htons(self::thePageSize);
-
- m_aNameBlock.initialize();
- m_aDataBlock.initialize();
-
- memset (m_pData, 0, capacity());
- }
-
/** Construction.
*/
explicit OStoreDirectoryPageData (sal_uInt16 nPageSize)
@@ -729,14 +702,6 @@ public:
return rtl_crc32 (nPath, pszName, rtl_str_getLength(pszName));
}
- sal_Size getName (sal_Char * pBuffer, sal_Size nBufsize) const
- {
- sal_Char const * pszName = PAGE().m_aNameBlock.m_pData;
- sal_Size nLength = rtl_str_getLength(pszName);
- memcpy (pBuffer, pszName, nLength < nBufsize ? nLength : nBufsize);
- return nLength;
- }
-
/** dataLength.
*/
sal_uInt32 dataLength() const