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

coverity#736165

Change-Id: I04c1474b2042deb3027369fe1102aef2eb5320a4
üst 8444cd78
...@@ -2183,7 +2183,8 @@ void WW8PLCF::GeneratePLCF(SvStream& rSt, sal_Int32 nPN, sal_Int32 ncpN) ...@@ -2183,7 +2183,8 @@ void WW8PLCF::GeneratePLCF(SvStream& rSt, sal_Int32 nPN, sal_Int32 ncpN)
{ {
failure = true; failure = true;
sal_Size nLastFkpPos = ( ( nPN + nIMax - 1 ) << 9 ); sal_Size nLastFkpPos = nPN + nIMax - 1;
nLastFkpPos = nLastFkpPos << 9;
// Anz. Fkp-Eintraege des letzten Fkp // Anz. Fkp-Eintraege des letzten Fkp
if (!checkSeek(rSt, nLastFkpPos + 511)) if (!checkSeek(rSt, nLastFkpPos + 511))
break; break;
......
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