diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-20 09:37:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-21 09:56:45 +0200 |
commit | 309c78fcf2fa004135fd6b15f9036dd69200457c (patch) | |
tree | bb6bd6eab023bb92d1abdb3febf04cbdfd0b3103 /sd/source | |
parent | 4e302884ce0c05bbfd9b069cb969355d2f30c17d (diff) |
ofz#2881 avoid oom
Change-Id: I1fa816bac5563503b9a4cc142bf3ec5d35ef0fbd
Reviewed-on: https://gerrit.libreoffice.org/42536
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/ppt/pptin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 263e27deb041..2fb4c47cbfd9 100644 --- a/sd/source/filter/ppt/pptin.cxx +++ b/sd/source/filter/ppt/pptin.cxx @@ -331,7 +331,7 @@ bool ImplSdPPTImport::Import() break; } auto nPos = aPropItem.Tell() + nTemp; - if (nPos != aPropItem.Seek(nPos)) + if (!checkSeek(aPropItem, nPos)) { bVecOk = false; break; |