ofz#29251 Abrt
Change-Id: Icf21642f61a3095b7f3dcb9392274e727e036956 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108680 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
parent
a1e23404e9
commit
93574ac776
2 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ void SfxOleDictionaryProperty::ImplLoad( SvStream& rStrm )
|
|||
sal_Int32 nNameCount = GetPropType();
|
||||
// read property ID/name pairs
|
||||
maPropNameMap.clear();
|
||||
for (sal_Int32 nIdx = 0; nIdx < nNameCount && rStrm.good(); ++nIdx)
|
||||
for (sal_Int32 nIdx = 0; nIdx < nNameCount && rStrm.good() && rStrm.remainingSize() >= 4; ++nIdx)
|
||||
{
|
||||
sal_Int32 nPropId(0);
|
||||
rStrm.ReadInt32(nPropId);
|
||||
|
|
Loading…
Reference in a new issue