summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-06-20 00:21:57 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-06 20:41:37 -0500
commit5b6e1f435e1e61a07dff55873c220290aab2a4c8 (patch)
treefd318cf09a13136a6f2e3eb5e764aca4b044484d
parent40b1cadc63523a3b3269838748f47d5ac251877e (diff)
Remove unused ScColumn::mbDirtyGroups
Change-Id: If8ed724ccec136653db5fcf43f9e74a82826add7 (cherry picked from commit 96a307be540fd609bed5b1a35dfe27d7e6652f21)
-rw-r--r--sc/inc/column.hxx1
-rw-r--r--sc/source/core/data/column.cxx3
-rw-r--r--sc/source/core/data/column2.cxx2
3 files changed, 0 insertions, 6 deletions
diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index f0a30d82e568..569f1ec06e5c 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -142,7 +142,6 @@ class ScColumn
ScAttrArray* pAttrArray;
ScDocument* pDocument;
- bool mbDirtyGroups; /// formula groups are dirty.
size_t mnBlkCountFormula;
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index ac65f8a1b7ca..3d68df45f50e 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -92,7 +92,6 @@ ScColumn::ScColumn() :
nTab( 0 ),
pAttrArray( nullptr ),
pDocument( nullptr ),
- mbDirtyGroups(true),
mnBlkCountFormula(0)
{
maCells.resize(MAXROWCOUNT);
@@ -1903,8 +1902,6 @@ void ScColumn::SwapCol(ScColumn& rCol)
pAttrArray->SetCol(nCol);
rCol.pAttrArray->SetCol(rCol.nCol);
- std::swap(mbDirtyGroups, rCol.mbDirtyGroups);
-
// Reset column positions in formula cells.
resetColumnPosition(maCells, nCol);
resetColumnPosition(rCol.maCells, rCol.nCol);
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index 73ebc5ab6dce..0e68d17ca32e 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -1504,8 +1504,6 @@ void ScColumn::CellStorageModified()
{
// TODO: Update column's "last updated" timestamp here.
- mbDirtyGroups = true;
-
#if DEBUG_COLUMN_STORAGE
if (maCells.size() != MAXROWCOUNT)
{