[Libreoffice-commits] core.git: sc/inc sc/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 4 17:19:42 UTC 2021
sc/inc/formulacell.hxx | 2 --
sc/inc/scmatrix.hxx | 1 -
sc/source/core/data/formulacell.cxx | 5 -----
sc/source/core/tool/scmatrix.cxx | 5 -----
4 files changed, 13 deletions(-)
New commits:
commit f52376f167840cee4896f71b17bb8c760c23d5bb
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Fri Jun 4 15:38:31 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Fri Jun 4 19:18:51 2021 +0200
loplugin:unusedmethods
Change-Id: I79bd2f0eaa7287f0568366ee5627e11a65d2aec2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116717
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
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);
More information about the Libreoffice-commits
mailing list