diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/oleprops.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx index 1505f766b4df..8391dede0a4b 100644 --- a/sfx2/source/doc/oleprops.cxx +++ b/sfx2/source/doc/oleprops.cxx @@ -1186,7 +1186,8 @@ void SfxOlePropertySet::ImplLoad( SvStream& rStrm ) break; nSectPosPos = rStrm.Tell(); // read section - rStrm.Seek(nSectPos); + if (!checkSeek(rStrm, nSectPos)) + break; LoadObject(rStrm, AddSection(aSectGuid)); if (!rStrm.good()) break; |