Kaydet (Commit) 637ad743 authored tarafından Caolán McNamara's avatar Caolán McNamara

reusing i here from the outer loop is definitely bogus

Change-Id: I4ee52c76b2c1723639185bc99b85d83be5b4fdd7
üst ef725dc3
......@@ -302,8 +302,8 @@ bool Section::GetDictionary( Dictionary& rDict )
nSize >>= 1;
aStream.Seek( nPos );
sal_Unicode* pWString = reinterpret_cast<sal_Unicode*>(pString);
for ( i = 0; i < nSize; i++ )
aStream.ReadUInt16( pWString[ i ] );
for (sal_uInt32 j = 0; j < nSize; ++j)
aStream.ReadUInt16(pWString[j]);
aString = OUString(pWString, lcl_getMaxSafeStrLen(nSize));
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment