[Libreoffice-commits] core.git: filter/source
Caolán McNamara
caolanm at redhat.com
Sat Oct 21 20:05:34 UTC 2017
filter/source/msfilter/svdfppt.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 2002b7b1fcbbdbc185ce08e6d92d4c6116de08e6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sat Oct 21 18:33:20 2017 +0100
check seek succeeded
Change-Id: I2bbee3adde8f36be7ebc6b4555d9417c3add00a3
Reviewed-on: https://gerrit.libreoffice.org/43669
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index f3e7887bfda9..30dcfd3b1223 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -1319,9 +1319,8 @@ SdrPowerPointImport::SdrPowerPointImport( PowerPointImportParam& rParam, const O
// try to allocate the UserEditAtom via CurrentUserAtom
sal_uInt32 nCurrentUserEdit = rParam.aCurrentUserAtom.nCurrentUserEdit;
- if ( nCurrentUserEdit )
+ if (nCurrentUserEdit && checkSeek(rStCtrl, nCurrentUserEdit))
{
- rStCtrl.Seek( nCurrentUserEdit );
ReadPptUserEditAtom( rStCtrl, aUserEditAtom );
}
if ( !aUserEditAtom.nOffsetPersistDirectory )
More information about the Libreoffice-commits
mailing list