Revert "introduce bool bBroadcast parameter for ScTable::SetDirty()"
This reverts commit b8a7c39cf2
.
Bah, this was a leftover of an idea I didn't follow..
This commit is contained in:
@@ -532,7 +532,7 @@ public:
|
||||
void ResetChanged( const ScRange& rRange );
|
||||
|
||||
void SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt );
|
||||
void SetDirty( const ScRange&, bool bBroadcast, bool bIncludeEmptyCells );
|
||||
void SetDirty( const ScRange&, bool bIncludeEmptyCells );
|
||||
void SetDirtyAfterLoad();
|
||||
void SetDirtyVar();
|
||||
void SetTableOpDirty( const ScRange& );
|
||||
|
@@ -3627,7 +3627,7 @@ void ScDocument::SetDirty( const ScRange& rRange, bool bIncludeEmptyCells )
|
||||
ScBulkBroadcast aBulkBroadcast( GetBASM());
|
||||
SCTAB nTab2 = rRange.aEnd.Tab();
|
||||
for (SCTAB i=rRange.aStart.Tab(); i<=nTab2 && i < static_cast<SCTAB>(maTabs.size()); i++)
|
||||
if (maTabs[i]) maTabs[i]->SetDirty( rRange, true, bIncludeEmptyCells );
|
||||
if (maTabs[i]) maTabs[i]->SetDirty( rRange, bIncludeEmptyCells );
|
||||
}
|
||||
SetAutoCalc( bOldAutoCalc );
|
||||
}
|
||||
|
@@ -1684,13 +1684,13 @@ void ScTable::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
|
||||
aCol[i].SetAllFormulasDirty(rCxt);
|
||||
}
|
||||
|
||||
void ScTable::SetDirty( const ScRange& rRange, bool bBroadcast, bool bIncludeEmptyCells )
|
||||
void ScTable::SetDirty( const ScRange& rRange, bool bIncludeEmptyCells )
|
||||
{
|
||||
bool bOldAutoCalc = pDocument->GetAutoCalc();
|
||||
pDocument->SetAutoCalc( false ); // Mehrfachberechnungen vermeiden
|
||||
SCCOL nCol2 = rRange.aEnd.Col();
|
||||
for (SCCOL i=rRange.aStart.Col(); i<=nCol2; i++)
|
||||
aCol[i].SetDirty(rRange.aStart.Row(), rRange.aEnd.Row(), bBroadcast, bIncludeEmptyCells);
|
||||
aCol[i].SetDirty(rRange.aStart.Row(), rRange.aEnd.Row(), true, bIncludeEmptyCells);
|
||||
pDocument->SetAutoCalc( bOldAutoCalc );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user