diff options
-rw-r--r-- | sd/source/filter/eppt/pptx-epptooxml.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx index 503489f21ce6..56f85514bcc8 100644 --- a/sd/source/filter/eppt/pptx-epptooxml.cxx +++ b/sd/source/filter/eppt/pptx-epptooxml.cxx @@ -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() |