diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-04 15:38:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-04 19:18:51 +0200 |
commit | f52376f167840cee4896f71b17bb8c760c23d5bb (patch) | |
tree | 7ff334b64978b70198a0fa3b1a61d57d72ece978 /sc | |
parent | 752e23f3cfb161f3eed72f3cd1104310b1b1ddba (diff) |
loplugin:unusedmethods
Change-Id: I79bd2f0eaa7287f0568366ee5627e11a65d2aec2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116717
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/formulacell.hxx | 2 | ||||
-rw-r--r-- | sc/inc/scmatrix.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/formulacell.cxx | 5 | ||||
-rw-r--r-- | sc/source/core/tool/scmatrix.cxx | 5 |
4 files changed, 0 insertions, 13 deletions
diff --git a/sc/inc/formulacell.hxx b/sc/inc/formulacell.hxx index 28317d60690a..002d5e7c2e29 100644 --- a/sc/inc/formulacell.hxx +++ b/sc/inc/formulacell.hxx @@ -211,8 +211,6 @@ public: size_t GetHash() const; - ScFormulaVectorState GetVectorState() const; - void GetFormula( OUString& rFormula, const formula::FormulaGrammar::Grammar = formula::FormulaGrammar::GRAM_DEFAULT, const ScInterpreterContext* pContext = nullptr ) const; diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx index 827d500edd24..9026288c55cf 100644 --- a/sc/inc/scmatrix.hxx +++ b/sc/inc/scmatrix.hxx @@ -413,7 +413,6 @@ public: void DivOp(bool bFlag, double fVal, const ScMatrix& rMat) ; void PowOp(bool bFlag, double fVal, const ScMatrix& rMat) ; - DoubleIterateResultMultiple Collect(const std::vector<sc::op::Op>& aOp) ; KahanIterateResultMultiple CollectKahan(const std::vector<sc::op::kOp>& aOp) ; void ExecuteOperation(const std::pair<size_t, size_t>& rStartPos, const std::pair<size_t, size_t>& rEndPos, diff --git a/sc/source/core/data/formulacell.cxx b/sc/source/core/data/formulacell.cxx index da592434598b..3eef76bf3550 100644 --- a/sc/source/core/data/formulacell.cxx +++ b/sc/source/core/data/formulacell.cxx @@ -963,11 +963,6 @@ size_t ScFormulaCell::GetHash() const return pCode->GetHash(); } -ScFormulaVectorState ScFormulaCell::GetVectorState() const -{ - return pCode->GetVectorState(); -} - void ScFormulaCell::GetFormula( OUStringBuffer& rBuffer, const FormulaGrammar::Grammar eGrammar, const ScInterpreterContext* pContext ) const { diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index 06e1da42e079..c1009a10217b 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -3398,11 +3398,6 @@ void ScMatrix::ExecuteOperation(const std::pair<size_t, size_t>& rStartPos, pImpl->ExecuteOperation(rStartPos, rEndPos, aDoubleFunc, aBoolFunc, aStringFunc, aEmptyFunc); } -ScMatrix::DoubleIterateResultMultiple ScMatrix::Collect(const std::vector<sc::op::Op>& aOp) -{ - return pImpl->ApplyCollectOperation<sc::op::Op, double>(aOp); -} - ScMatrix::KahanIterateResultMultiple ScMatrix::CollectKahan(const std::vector<sc::op::kOp>& aOp) { return pImpl->ApplyCollectOperation<sc::op::kOp, KahanSum>(aOp); |