summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-10-19 10:06:37 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-10-26 22:04:28 +0200
commit8b09fbc6db3527e0de0af37e9efa43eda377fa05 (patch)
tree87db85bb0b0dd0e4e3a8501fadacc759140f758e /sd
parenta5f229206260fbf8f47827786645c7a1bd048aa2 (diff)
index validity check looks dubious
Change-Id: Iccbbeab3b52d1d7369c19e333756713b42e83830 Reviewed-on: https://gerrit.libreoffice.org/62021 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/pptx-epptooxml.cxx2
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 d90ea3a60d7b..a4e95a6224ee 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -2082,7 +2082,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()