Kaydet (Commit) 6a042742 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#5661 check nLevel against maParaSprms size

Change-Id: I9bcaf176e6a2f70348712ca98c4176125c2f455e
Reviewed-on: https://gerrit.libreoffice.org/48519Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 97b7ada0
......@@ -1415,7 +1415,8 @@ WW8ListManager::WW8ListManager(SvStream& rSt_, SwWW8ImplReader& rReader_)
aLFOLVL.bFormat = true;
// if bStartup is true, replace Startup-Level
// with the LVLF that is saved in the LVL
bLVLOk = ReadLVL(aNumFormat, aItemSet[nLevel],
bLVLOk = nLevel < rLFOInfo.maParaSprms.size() &&
ReadLVL(aNumFormat, aItemSet[nLevel],
pParentListInfo->aIdSty[nLevel],
aLFOLVL.bStartAt, aNotReallyThere, nLevel,
rLFOInfo.maParaSprms[nLevel]);
......
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