[Libreoffice-commits] core.git: filter/source

Julien Nabet serval2412 at yahoo.fr
Sun Apr 28 05:13:44 PDT 2013


 filter/source/msfilter/svdfppt.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit b5ca660e41fd81156ed62aa2c8451ed66a61eed4
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Apr 28 14:13:05 2013 +0200

    coverity#988424: Logically dead code
    
    Change-Id: I916d72cb1104a4d6109a3c5a3a74fb74cea74769

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index fca74f7..8354791 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -5060,21 +5060,15 @@ void PPTStyleTextPropReader::ReadCharProps( SvStream& rIn, PPTCharPropSet& aChar
     if ( nExtParaPos )
     {
         sal_uInt32 nExtBuInd = nMask & 0x3c00;
-        sal_uInt32  nExtParaNibble = 0;
         if ( nExtBuInd )
             nExtBuInd = ( aSet.mnFlags & 0x3c00 ) >> 10;
         if ( nExtBuInd < aStyleTextProp9.size() )
         {
-            if ( nExtParaNibble && ( ( nExtBuInd + nExtParaNibble ) < aStyleTextProp9.size() ) )
-                nExtBuInd += nExtParaNibble;
-
             nExtParaFlags = aStyleTextProp9[ nExtBuInd ].mnExtParagraphMask;
             nBuBlip = aStyleTextProp9[ nExtBuInd ].mnBuBlip;
             nHasAnm = aStyleTextProp9[ nExtBuInd ].mnHasAnm;
             nAnmScheme = aStyleTextProp9[ nExtBuInd ].mnAnmScheme;
         }
-        if ( ( nExtBuInd & 0xf ) == 0xf )
-            nExtParaNibble += 16;
     }
 }
 


More information about the Libreoffice-commits mailing list