sc/source/filter/excel/excform8.cxx |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

New commits:
commit a6a68d655ed3474ed0526c2991db34b8d6d0a8ff
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Sat Oct 19 18:08:30 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Wed Nov 6 18:17:29 2024 +0100

    tdf#163486: PVS: Identical branches
    
    V1037 Two or more case-branches perform the same actions. Check lines: 305, 
361
    
    Change-Id: Ibab399391a23eea20d6a589123bbfc947d131bef
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175216
    Tested-by: Jenkins
    Reviewed-by: David Gilbert <freedesk...@treblig.org>

diff --git a/sc/source/filter/excel/excform8.cxx 
b/sc/source/filter/excel/excform8.cxx
index 1984d2c362da..ac0db70112af 100644
--- a/sc/source/filter/excel/excform8.cxx
+++ b/sc/source/filter/excel/excform8.cxx
@@ -301,11 +301,6 @@ ConvErr ExcelToSc8::Convert( 
std::unique_ptr<ScTokenArray>& rpTokArray, XclImpSt
                 nEptg = aIn.ReaduInt8();
                 switch( nEptg )
                 {                           //  name        size    ext     
type
-                    case 0x01:              //  Lel         4       -       err
-                        aIn.Ignore( 4 );
-                        aPool << ocBad;
-                        aPool >> aStack;
-                    break;
                     case 0x02:              //  Rw          4       -       ref
                     case 0x03:              //  Col         4       -       ref
                     case 0x06:              //  RwV         4       -       val
@@ -356,6 +351,7 @@ ConvErr ExcelToSc8::Convert( std::unique_ptr<ScTokenArray>& 
rpTokArray, XclImpSt
                         aPool << ocBad;
                         aPool >> aStack;
                         break;
+                    case 0x01:              //  Lel         4       -       err
                     case 0x10:              //  RadicalLel  4       -       err
                     case 0x1D:              //  SxName      4       -       val
                         aIn.Ignore( 4 );

Reply via email to