Kaydet (Commit) 037c606d authored tarafından Caolán McNamara's avatar Caolán McNamara

surely this is the true intent of this lunatic loop

Change-Id: I6d7963b2b416fe19cc1274780c2aea0c24c25bbb
üst cb5fa11b
......@@ -128,12 +128,10 @@ WW8SttbRgtplc::getEntry(sal_uInt32 nIndex)
sal_uInt32 nOffset = 6;
while (nIndex > 0)
for (sal_uInt32 i = 0; i < nIndex; ++i)
{
sal_uInt16 nCount = getU16(nOffset);
nOffset = nOffset + 2 + nCount;
++nIndex;
}
sal_uInt16 nCount = getU16(nOffset);
......
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