diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-29 09:59:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-06-01 09:58:56 +0200 |
commit | 55bc128636596032c23ee855904822ad813986fc (patch) | |
tree | ba097deaf15579f0148a68679d915e3ba25d52c4 /lotuswordpro/source/filter/lwpidxmgr.cxx | |
parent | getCaretPosition() returns a signed int, not an unsigned one (diff) | |
download | core-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.cxx | 4 |
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; |