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

Noel Grandin noel.grandin at collabora.co.uk
Mon Feb 20 11:25:18 UTC 2017


 sc/source/filter/excel/excform.cxx |    1 -
 sc/source/filter/inc/formel.hxx    |    1 -
 2 files changed, 2 deletions(-)

New commits:
commit b9dd9bbdf248c0b5da981533c5411460bc354fd0
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Mon Feb 20 11:39:15 2017 +0200

    remove unused External from ConvErr enum
    
    Change-Id: I93d653d92466bfaa0bddc8ca5958e1328cf1d6cf
    Reviewed-on: https://gerrit.libreoffice.org/34466
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
index eaaac14..fefac2e 100644
--- a/sc/source/filter/excel/excform.cxx
+++ b/sc/source/filter/excel/excform.cxx
@@ -1750,7 +1750,6 @@ void ExcelToSc::SetError( ScFormulaCell &rCell, const ConvErr eErr )
     switch( eErr )
     {
         case ConvErr::Ni:         nInd = FormulaError::UnknownToken; break;
-        case ConvErr::External:   nInd = FormulaError::NoName; break;
         case ConvErr::Count:      nInd = FormulaError::CodeOverflow; break;
         default:                  nInd = FormulaError::NoCode;   // I had no better idea
     }
diff --git a/sc/source/filter/inc/formel.hxx b/sc/source/filter/inc/formel.hxx
index 947a096..0d496f7 100644
--- a/sc/source/filter/inc/formel.hxx
+++ b/sc/source/filter/inc/formel.hxx
@@ -45,7 +45,6 @@ enum class ConvErr
 {
     OK = 0,
     Ni,      // unimplemented/unknown opcode occurred
-    External,// excel add-ins are not converted
     Count    // did not get all bytes of formula
 };
 


More information about the Libreoffice-commits mailing list