[Libreoffice-commits] core.git: sc/inc sc/source

Eike Rathke erack at redhat.com
Mon Jun 19 22:25:21 UTC 2017


 sc/inc/column.hxx               |    1 -
 sc/source/core/data/column.cxx  |    3 ---
 sc/source/core/data/column2.cxx |    2 --
 3 files changed, 6 deletions(-)

New commits:
commit 96a307be540fd609bed5b1a35dfe27d7e6652f21
Author: Eike Rathke <erack at redhat.com>
Date:   Tue Jun 20 00:21:57 2017 +0200

    Remove unused ScColumn::mbDirtyGroups
    
    Change-Id: If8ed724ccec136653db5fcf43f9e74a82826add7

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)
     {


More information about the Libreoffice-commits mailing list