diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 10:06:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-19 16:24:28 +0200 |
commit | 834500c958899efd2bb51f47aa17242f892c202c (patch) | |
tree | 7f5f205dc41f6cf9f0f035f4755b5226bf392f16 /sd/source/filter | |
parent | a9342497f309be256e6c7d43065c160378a48e1a (diff) |
index validity check looks dubious
Change-Id: Iccbbeab3b52d1d7369c19e333756713b42e83830
Reviewed-on: https://gerrit.libreoffice.org/61976
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/filter')
-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() |