Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hello,

Scan coverity detected this: 
CID 988424 (#1 of 1): Logically dead code (DEADCODE)dead_error_line:
Execution cannot reach this expression "nExtBuInd + nExtParaNibble <
aStyleTextProp9->size()" inside statement "if (nExtParaNibble && nExtB...". 

Indeed, we have these lines:
   5026     if ( nExtParaPos )
   5027     {
   5028         sal_uInt32 nExtBuInd = nMask & 0x3c00;
   5029         sal_uInt32  nExtParaNibble = 0;
   5030         if ( nExtBuInd )
   5031             nExtBuInd = ( aSet.mnFlags & 0x3c00 ) >> 10;
   5032         if ( nExtBuInd < aStyleTextProp9.size() )
   5033         {
   5034             if ( nExtParaNibble && ( ( nExtBuInd + nExtParaNibble )
< aStyleTextProp9.size() ) )
   5035                 nExtBuInd += nExtParaNibble;

(see
http://opengrok.libreoffice.org/xref/core/filter/source/msfilter/svdfppt.cxx#5026)

Any idea what should be done?

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/About-coverity-988424-svdfppt-cxx-from-filter-module-tp4044238.html
Sent from the Dev mailing list archive at Nabble.com.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.