summaryrefslogtreecommitdiff
path: root/lotuswordpro/inc/lwpidxmgr.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 16:04:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 07:16:08 +0100
commitbbf1312b2d775a851a38290e3c12c677f6acbfde (patch)
tree3724292b32ece4347f6b8a92ad0c51a844072444 /lotuswordpro/inc/lwpidxmgr.hxx
parent6084ca8a637abb57b3d7236c303e22afa6423b43 (diff)
loplugin:finalclasses in lotuswordpro
Change-Id: I09a570741f5801980ae07fb90835e543519df046 Reviewed-on: https://gerrit.libreoffice.org/44135 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc/lwpidxmgr.hxx')
-rw-r--r--lotuswordpro/inc/lwpidxmgr.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/inc/lwpidxmgr.hxx b/lotuswordpro/inc/lwpidxmgr.hxx
index 21f902a76cda..fc01fed425a4 100644
--- a/lotuswordpro/inc/lwpidxmgr.hxx
+++ b/lotuswordpro/inc/lwpidxmgr.hxx
@@ -77,11 +77,11 @@ struct LwpKey
/**
* @brief LwpIndexManager, to read all index records and maintain the index information
*/
-class LwpIndexManager
+class LwpIndexManager final
{
public:
LwpIndexManager();
-protected:
+private:
static const sal_uInt8 MAXOBJECTIDS;
std::vector<LwpKey> m_ObjectKeys; //the <id, offset> ordered vector
std::vector<LwpKey> m_RootObjs; //For those object ids in RootObjIndex
@@ -93,7 +93,7 @@ protected:
sal_uInt32 m_ChildIndex[256]; //Offset of leaf index
sal_uInt16 m_nLeafCount;
-protected:
+
void ReadRootData(LwpObjectStream *pObjStrm ); //Read root index data
//Add new method to handle ObjIndex