diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-25 16:00:46 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-26 08:54:55 +0200 |
commit | 8a6c9bc82d22b694a344db9102dd1b91044589d7 (patch) | |
tree | d83d61cb4f24809d6fe009f2f9fdc90806dfb887 | |
parent | 9bfbaa5864ae1ceeb932e8d6105c57c1f7bf1015 (diff) |
remove unused code ScDocument::RebuildFormulaGroups()
and the consequently unused code
ScTable::RebuildFormulaGroups()
Change-Id: Ic7dfb7420c7cc4ca52c4ed4fe580fbb499ab53b6
-rw-r--r-- | sc/inc/document.hxx | 1 | ||||
-rw-r--r-- | sc/inc/table.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/data/documen9.cxx | 8 | ||||
-rw-r--r-- | sc/source/core/data/table6.cxx | 6 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
5 files changed, 0 insertions, 17 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: */ diff --git a/unusedcode.easy b/unusedcode.easy index 29d0d53b6082..29f0e16af240 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -80,7 +80,6 @@ ScDocument::CreateFormatTable() const ScDocument::GetCellCount(short, short) const ScDocument::GetFormulaTokens(ScAddress const&) const ScDocument::IsEmptyData(short, short) const -ScDocument::RebuildFormulaGroups() ScExtIButton::GetSelected() const ScFlatBoolRowSegments::getValue(int) ScGlobal::GetStandardFormat(double, SvNumberFormatter&, unsigned long, short) |