summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7c03e8733b65..df8419c7e431 100644
--- a/lotuswordpro/source/filter/lwpidxmgr.cxx
+++ b/lotuswordpro/source/filter/lwpidxmgr.cxx
@@ -177,7 +177,7 @@ void LwpIndexManager::ReadObjIndexData(LwpObjectStream* pObjStrm)
std::vector<LwpKey> vObjIndexs;
- if(KeyCount)
+ if (KeyCount)
{
LwpKey akey;
akey.id.Read(pObjStrm);
@@ -200,7 +200,7 @@ void LwpIndexManager::ReadObjIndexData(LwpObjectStream* pObjStrm)
for( sal_uInt16 j=0; j<LeafCount; j++ )
{
- sal_Int64 nPos = m_TempVec[j]+LwpSvStream::LWP_STREAM_BASE;
+ sal_Int64 nPos = m_TempVec.at(j) + LwpSvStream::LWP_STREAM_BASE;
sal_Int64 nActualPos = pObjStrm->GetStream()->Seek(nPos);
if (nPos != nActualPos)