summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-06-20 00:21:57 +0200
committerEike Rathke <erack@redhat.com>2017-06-20 00:24:55 +0200
commit96a307be540fd609bed5b1a35dfe27d7e6652f21 (patch)
treefe24019b56673769445725fbe3b8b552a8c47fe4
parent7a9dd3d482deeeb3ed1d50074e56adbd3f928296 (diff)
Remove unused ScColumn::mbDirtyGroups
Change-Id: If8ed724ccec136653db5fcf43f9e74a82826add7
-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 e4700e9e6e48..68784b9bd932 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 9d68fbf8381b..b1acc841a0ca 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -91,7 +91,6 @@ ScColumn::ScColumn() :
nTab( 0 ),
pAttrArray( nullptr ),
pDocument( nullptr ),
- mbDirtyGroups(true),
mnBlkCountFormula(0)
{
maCells.resize(MAXROWCOUNT);
@@ -1911,8 +1910,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 162fbcff9b95..890e319e3d22 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)
{