From bbaad0e03d04c2b2606823ce85f12a80803ed5af Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 23 Feb 2014 15:51:00 +0000 Subject: coverity#736165 Change-Id: I04c1474b2042deb3027369fe1102aef2eb5320a4 --- sw/source/filter/ww8/ww8scan.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx index 76b44d334c7a..743eec85b73d 100644 --- a/sw/source/filter/ww8/ww8scan.cxx +++ b/sw/source/filter/ww8/ww8scan.cxx @@ -2183,7 +2183,8 @@ void WW8PLCF::GeneratePLCF(SvStream& rSt, sal_Int32 nPN, sal_Int32 ncpN) { failure = true; - sal_Size nLastFkpPos = ( ( nPN + nIMax - 1 ) << 9 ); + sal_Size nLastFkpPos = nPN + nIMax - 1; + nLastFkpPos = nLastFkpPos << 9; // Anz. Fkp-Eintraege des letzten Fkp if (!checkSeek(rSt, nLastFkpPos + 511)) break; -- cgit