diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-09-25 16:40:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-09-25 22:23:28 +0200 |
commit | 462129cd9a6fbf5cf6fac6424c08dab623bf3962 (patch) | |
tree | cec8b6a2bdda34d8fb2356f7d50de01b583940d2 | |
parent | 45ff1bdf2690e00b8df2803b33b1ac24eb405acf (diff) |
pptfuzzer timeout
Change-Id: I0d537da3dd7f979a087d7534459bf6e5cabbb2e0
Reviewed-on: https://gerrit.libreoffice.org/42758
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index 7c34acc49f35..1505f766b4df 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -1033,8 +1033,8 @@ void SfxOleSection::ImplSave( SvStream& rStrm ) bool SfxOleSection::SeekToPropertyPos( SvStream& rStrm, sal_uInt32 nPropPos ) const { - rStrm.Seek( static_cast< std::size_t >( mnStartPos + nPropPos ) ); - return rStrm.GetErrorCode() == ERRCODE_NONE; + return checkSeek(rStrm, static_cast<std::size_t>(mnStartPos + nPropPos)) && + rStrm.GetErrorCode() == ERRCODE_NONE; } void SfxOleSection::LoadProperty( SvStream& rStrm, sal_Int32 nPropId ) |