summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-20 11:39:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-20 11:24:55 +0000
commitb9dd9bbdf248c0b5da981533c5411460bc354fd0 (patch)
treed46ed080e9eefaedf4a186b416fd02d9df8e64e8 /sc
parente407079b21c15d4ad1c5b27dc52d7b24f4bcc318 (diff)
remove unused External from ConvErr enum
Change-Id: I93d653d92466bfaa0bddc8ca5958e1328cf1d6cf Reviewed-on: https://gerrit.libreoffice.org/34466 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/excform.cxx1
-rw-r--r--sc/source/filter/inc/formel.hxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
index eaaac14b64b9..fefac2e70c6e 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 947a096219f7..0d496f78eb37 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
};