[Libreoffice-commits] core.git: sfx2/source

Caolán McNamara caolanm at redhat.com
Mon Sep 25 20:23:47 UTC 2017


 sfx2/source/doc/oleprops.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 462129cd9a6fbf5cf6fac6424c08dab623bf3962
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Sep 25 16:40:41 2017 +0100

    pptfuzzer timeout
    
    Change-Id: I0d537da3dd7f979a087d7534459bf6e5cabbb2e0
    Reviewed-on: https://gerrit.libreoffice.org/42758
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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 )


More information about the Libreoffice-commits mailing list