summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-25 16:00:46 +0200
committerNoel Grandin <noel@peralex.com>2014-02-26 08:54:55 +0200
commit8a6c9bc82d22b694a344db9102dd1b91044589d7 (patch)
treed83d61cb4f24809d6fe009f2f9fdc90806dfb887 /sc
parent9bfbaa5864ae1ceeb932e8d6105c57c1f7bf1015 (diff)
remove unused code ScDocument::RebuildFormulaGroups()
and the consequently unused code ScTable::RebuildFormulaGroups() Change-Id: Ic7dfb7420c7cc4ca52c4ed4fe580fbb499ab53b6
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx1
-rw-r--r--sc/inc/table.hxx1
-rw-r--r--sc/source/core/data/documen9.cxx8
-rw-r--r--sc/source/core/data/table6.cxx6
4 files changed, 0 insertions, 16 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 6bb74e23f186..671c27f0351e 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1873,7 +1873,6 @@ public:
SC_DLLPUBLIC void CalcFormulaTree(
bool bOnlyForced = false, bool bProgressBar = true, bool bSetAllDirty = true );
void ClearFormulaTree();
- SC_DLLPUBLIC void RebuildFormulaGroups();
void AppendToFormulaTrack( ScFormulaCell* pCell );
void RemoveFromFormulaTrack( ScFormulaCell* pCell );
void TrackFormulas( sal_uLong nHintId = SC_HINT_DATACHANGED );
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 563f17d9a7db..cd55ea9936ff 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -1021,7 +1021,6 @@ private:
void CompileDBFormula( sc::CompileFormulaContext& rCxt, bool bCreateFormulaString );
void CompileNameFormula( sc::CompileFormulaContext& rCxt, bool bCreateFormulaString );
void CompileColRowNameFormula( sc::CompileFormulaContext& rCxt );
- void RebuildFormulaGroups();
void StartListening( const ScAddress& rAddress, SvtListener* pListener );
void EndListening( const ScAddress& rAddress, SvtListener* pListener );
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index 9ceb12b03490..816a597e5fc8 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -692,12 +692,4 @@ void ScDocument::ApplyAsianEditSettings( ScEditEngineDefaulter& rEngine )
rEngine.SetKernAsianPunctuation( GetAsianKerning() );
}
-void ScDocument::RebuildFormulaGroups()
-{
- SCTAB nTab;
- for (nTab=0; nTab < static_cast<SCTAB>(maTabs.size()); nTab++)
- if (maTabs[nTab])
- maTabs[nTab]->RebuildFormulaGroups();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx
index c544beccd61a..4e975903523c 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -1025,10 +1025,4 @@ bool ScTable::SearchRangeForAllEmptyCells(
return bFound;
}
-void ScTable::RebuildFormulaGroups()
-{
- for (SCCOL i=0; i<=MAXCOL; i++)
- aCol[i].RegroupFormulaCells();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */