[Libreoffice-commits] core.git: sc/inc sc/source unusedcode.easy
Noel Grandin
noel at peralex.com
Wed Nov 5 23:33:20 PST 2014
sc/inc/column.hxx | 2 --
sc/source/core/data/column.cxx | 27 ---------------------------
unusedcode.easy | 1 -
3 files changed, 30 deletions(-)
New commits:
commit befb92a8c4dc9c9f0349e701fd3d22cc49564d21
Author: Noel Grandin <noel at peralex.com>
Date: Thu Nov 6 09:19:13 2014 +0200
sc: remove some unused code
Change-Id: If64738067e3b35523272285ae2606c6c06d4c121
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index ec05b13..4ff3c9e 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -285,8 +285,6 @@ public:
void SwapCol(ScColumn& rCol);
void MoveTo(SCROW nStartRow, SCROW nEndRow, ScColumn& rCol);
- void MarkSubTotalCells( sc::ColumnSpanSet& rSet, SCROW nRow1, SCROW nRow2, bool bVal ) const;
-
bool HasEditCells(SCROW nStartRow, SCROW nEndRow, SCROW& rFirst);
bool SetString(
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 9aa3532..bd6ea31 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -1920,33 +1920,6 @@ void ScColumn::MoveTo(SCROW nStartRow, SCROW nEndRow, ScColumn& rCol)
namespace {
-class SubTotalCellPicker
-{
- sc::ColumnSpanSet& mrSet;
- SCTAB mnTab;
- SCCOL mnCol;
- bool mbVal;
-public:
- SubTotalCellPicker(sc::ColumnSpanSet& rSet, SCTAB nTab, SCCOL nCol, bool bVal) :
- mrSet(rSet), mnTab(nTab), mnCol(nCol), mbVal(bVal) {}
-
- void operator() (size_t nRow, const ScFormulaCell* pCell)
- {
- if (pCell->IsSubTotal())
- mrSet.set(mnTab, mnCol, nRow, mbVal);
- }
-};
-
-}
-
-void ScColumn::MarkSubTotalCells( sc::ColumnSpanSet& rSet, SCROW nRow1, SCROW nRow2, bool bVal ) const
-{
- SubTotalCellPicker aFunc(rSet, nTab, nCol, bVal);
- sc::ParseFormula(maCells.begin(), maCells, nRow1, nRow2, aFunc);
-}
-
-namespace {
-
class SharedTopFormulaCellPicker : std::unary_function<sc::CellStoreType::value_type, void>
{
public:
diff --git a/unusedcode.easy b/unusedcode.easy
index f22f7b1..66de7df 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -20,7 +20,6 @@ Primitive2dXmlDump::filterActionType(unsigned short, bool)
Primitive2dXmlDump::filterAllActionTypes()
SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
ScBroadcastAreaSlotMachine::AreaBroadcastInRange(ScRange const&, ScHint const&) const
-ScColumn::MarkSubTotalCells(sc::ColumnSpanSet&, int, int, bool) const
ScDocument::CreateFormatTable() const
ScFormulaCellGroup::scheduleCompilation()
ScRawToken::Clone() const
More information about the Libreoffice-commits
mailing list