summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-04-04 13:21:49 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2017-04-05 12:00:56 +0000
commit5f282c101a644ffc3615c3dc43ddb99febecae16 (patch)
tree8db71d8c8e1f5b9c3c4287355255dd56dcd2add2
parenta3d6b074852520caf8d525561cb48546cbcfccb5 (diff)
sc: remove unused private field
Change-Id: I2140a609f6447f3b062db3b8994ad50caa464ce9 Reviewed-on: https://gerrit.libreoffice.org/36138 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
-rw-r--r--sc/inc/simpleformulacalc.hxx1
-rw-r--r--sc/source/core/data/simpleformulacalc.cxx2
2 files changed, 0 insertions, 3 deletions
diff --git a/sc/inc/simpleformulacalc.hxx b/sc/inc/simpleformulacalc.hxx
index 64229aff77ce..600507bcb9d0 100644
--- a/sc/inc/simpleformulacalc.hxx
+++ b/sc/inc/simpleformulacalc.hxx
@@ -23,7 +23,6 @@ class ScSimpleFormulaCalculator
{
private:
short mnFormatType;
- sal_uLong mnFormatIndex;
bool mbCalculated;
std::unique_ptr<ScTokenArray> mpCode;
diff --git a/sc/source/core/data/simpleformulacalc.cxx b/sc/source/core/data/simpleformulacalc.cxx
index 4337f87e0e73..d855aeda43c4 100644
--- a/sc/source/core/data/simpleformulacalc.cxx
+++ b/sc/source/core/data/simpleformulacalc.cxx
@@ -18,7 +18,6 @@
ScSimpleFormulaCalculator::ScSimpleFormulaCalculator( ScDocument* pDoc, const ScAddress& rAddr,
const OUString& rFormula, bool bMatrixFormula, formula::FormulaGrammar::Grammar eGram )
: mnFormatType(0)
- , mnFormatIndex(0)
, mbCalculated(false)
, maAddr(rAddr)
, mpDoc(pDoc)
@@ -80,7 +79,6 @@ void ScSimpleFormulaCalculator::Calculate()
maMatrixFormulaResult = aStr.makeStringAndClear();
}
mnFormatType = aInt.GetRetFormatType();
- mnFormatIndex = aInt.GetRetFormatIndex();
maResult.SetToken(aInt.GetResultToken().get());
}