[Libreoffice-commits] core.git: sd/source
Caolán McNamara
caolanm at redhat.com
Thu Sep 21 07:57:21 UTC 2017
sd/source/filter/ppt/pptin.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 309c78fcf2fa004135fd6b15f9036dd69200457c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Sep 20 09:37:11 2017 +0100
ofz#2881 avoid oom
Change-Id: I1fa816bac5563503b9a4cc142bf3ec5d35ef0fbd
Reviewed-on: https://gerrit.libreoffice.org/42536
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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;
More information about the Libreoffice-commits
mailing list