summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-04 11:42:49 +0200
committerNoel Grandin <noel@peralex.com>2014-11-04 11:43:20 +0200
commit389875573012c6373d95ef31b12fe8e8104b1233 (patch)
tree7dbdcb04255b409627e148943d7621cf77d2b357 /sc/source/core/data/table3.cxx
parent5310dfe1cdf4cfa1f86036476694a076b71671db (diff)
remove some unused code in sc
Change-Id: I6cd2acaf361ae1947787b5aacc86b75a6e21c379
Diffstat (limited to 'sc/source/core/data/table3.cxx')
-rw-r--r--sc/source/core/data/table3.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index b7661fe40afa..f7c61184fecd 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -1804,36 +1804,6 @@ bool ScTable::DoSubTotals( ScSubTotalParam& rParam )
return bSpaceLeft;
}
-void ScTable::MarkSubTotalCells(
- sc::ColumnSpanSet& rSet, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, bool bVal ) const
-{
- if (!ValidCol(nCol1) || !ValidCol(nCol2))
- return;
-
- // Pick up all subtotal formula cells.
- for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol)
- aCol[nCol].MarkSubTotalCells(rSet, nRow1, nRow2, bVal);
-
- // Pick up all filtered rows.
- ScFlatBoolRowSegments::RangeData aFilteredSpan;
- SCROW nRow = nRow1;
- while (nRow <= nRow2)
- {
- if (!mpFilteredRows->getRangeData(nRow, aFilteredSpan))
- // Failed for whatever reason.
- return;
-
- if (aFilteredSpan.mbValue)
- {
- // Filtered span found.
- for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol)
- rSet.set(nTab, nCol, nRow, aFilteredSpan.mnRow2, bVal);
- }
-
- nRow = aFilteredSpan.mnRow2 + 1;
- }
-}
-
namespace {
class QueryEvaluator