Kaydet (Commit) 8a6c9bc8 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused code ScDocument::RebuildFormulaGroups()

and the consequently unused code
ScTable::RebuildFormulaGroups()

Change-Id: Ic7dfb7420c7cc4ca52c4ed4fe580fbb499ab53b6
üst 9bfbaa58
......@@ -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 );
......
......@@ -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 );
......
......@@ -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: */
......@@ -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: */
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment