[Libreoffice-commits] core.git: sc/inc sc/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Wed Apr 5 12:01:25 UTC 2017
sc/inc/simpleformulacalc.hxx | 1 -
sc/source/core/data/simpleformulacalc.cxx | 2 --
2 files changed, 3 deletions(-)
New commits:
commit 5f282c101a644ffc3615c3dc43ddb99febecae16
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Tue Apr 4 13:21:49 2017 +0200
sc: remove unused private field
Change-Id: I2140a609f6447f3b062db3b8994ad50caa464ce9
Reviewed-on: https://gerrit.libreoffice.org/36138
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
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());
}
More information about the Libreoffice-commits
mailing list