Kaydet (Commit) 834500c9 authored tarafından Caolán McNamara's avatar Caolán McNamara

index validity check looks dubious

Change-Id: Iccbbeab3b52d1d7369c19e333756713b42e83830
Reviewed-on: https://gerrit.libreoffice.org/61976Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst a9342497
......@@ -1164,7 +1164,7 @@ void PowerPointExport::ImplWriteNotes(sal_uInt32 nPageNum)
.makeStringAndClear());
// add slide implicit relation to notes
if (mpSlidesFSArray.size() >= nPageNum)
if (nPageNum < mpSlidesFSArray.size())
addRelation(mpSlidesFSArray[ nPageNum ]->getOutputStream(),
oox::getRelationship(Relationship::NOTESSLIDE),
OUStringBuffer()
......
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