Kaydet (Commit) a4e01070 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242604 attempt to silence Untrusted loop bound

Change-Id: I034fa25671cce8ba215d7b8b88f0dff5b26d40cb
üst cf63ebe0
......@@ -528,8 +528,10 @@ void ImpSvNumFor::SaveNewCurrencyMap( SvStream& rStream ) const
void ImpSvNumFor::LoadNewCurrencyMap( SvStream& rStream )
{
sal_uInt16 nCnt;
rStream.ReadUInt16( nCnt );
for ( sal_uInt16 j=0; j<nCnt; j++ )
rStream.ReadUInt16(nCnt);
if (!nCnt)
return;
for (sal_uInt16 j=0; j < nCnt; ++j)
{
sal_uInt16 nPos;
short nType;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment