summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpidxmgr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-29 09:59:20 +0200
committerNoel Grandin <noel@peralex.com>2015-06-01 09:58:56 +0200
commit55bc128636596032c23ee855904822ad813986fc (patch)
treeba097deaf15579f0148a68679d915e3ba25d52c4 /lotuswordpro/source/filter/lwpidxmgr.cxx
parentgetCaretPosition() returns a signed int, not an unsigned one (diff)
downloadcore-55bc128636596032c23ee855904822ad813986fc.tar.gz
core-55bc128636596032c23ee855904822ad813986fc.zip
loplugin:loopvartoosmall
Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
Diffstat (limited to 'lotuswordpro/source/filter/lwpidxmgr.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpidxmgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpidxmgr.cxx b/lotuswordpro/source/filter/lwpidxmgr.cxx
index 07ea4a1a521f..cba6cd855062 100644
--- a/lotuswordpro/source/filter/lwpidxmgr.cxx
+++ b/lotuswordpro/source/filter/lwpidxmgr.cxx
@@ -288,14 +288,14 @@ void LwpIndexManager::ReadLeafData( LwpObjectStream *pObjStrm )
akey->id.Read(pObjStrm);
m_ObjectKeys.push_back(akey);
- for (sal_uInt8 k = 1; k < KeyCount; k++)
+ for (sal_uInt16 k = 1; k < KeyCount; k++)
{
akey = new LwpKey();
akey->id.ReadCompressed(pObjStrm, m_ObjectKeys.at(m_nKeyCount+k-1)->id);
m_ObjectKeys.push_back(akey);
}
- for (sal_uInt8 j = 0; j < KeyCount; j++)
+ for (sal_uInt16 j = 0; j < KeyCount; j++)
m_ObjectKeys.at(m_nKeyCount+j)->offset = pObjStrm->QuickReaduInt32();
}
m_nKeyCount += KeyCount;