diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/document.hxx | 3 | ||||
-rw-r--r-- | sc/source/core/data/documen7.cxx | 28 |
2 files changed, 0 insertions, 31 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 61dd1bd955e1..74d9cd1a9d71 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -1818,9 +1818,6 @@ public: */ void Broadcast( const ScHint& rHint ); - void BroadcastCells( const ScRange& rRange, sal_uLong nHint ); - void BroadcastCells( const ScRangeList& rRanges, sal_uLong nHint ); - /// only area, no cell broadcast void AreaBroadcast( const ScHint& rHint ); /// only areas in range, no cell broadcasts diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx index ec2e1cf9c305..b8f691b91a00 100644 --- a/sc/source/core/data/documen7.cxx +++ b/sc/source/core/data/documen7.cxx @@ -104,34 +104,6 @@ void ScDocument::Broadcast( const ScHint& rHint ) } } -void ScDocument::BroadcastCells( const ScRange& rRange, sal_uLong nHint ) -{ - // TODO : For now, this simply makes multiple Broadcast() calls one cell - // at a time. In the future, we should add a more efficient way to - // make a range of cell broadcasts. - - ScHint aHint(nHint, rRange.aStart); - - for (SCCOL nCol = rRange.aStart.Col(); nCol <= rRange.aEnd.Col(); ++nCol) - { - for (SCROW nRow = rRange.aStart.Row(); nRow <= rRange.aEnd.Row(); ++nRow) - { - aHint.GetAddress().SetCol(nCol); - aHint.GetAddress().SetRow(nRow); - Broadcast(aHint); - } - } -} - -void ScDocument::BroadcastCells( const ScRangeList& rRanges, sal_uLong nHint ) -{ - for (size_t i = 0, n = rRanges.size(); i < n; ++i) - { - const ScRange* p = rRanges[i]; - BroadcastCells(*p, nHint); - } -} - void ScDocument::AreaBroadcast( const ScHint& rHint ) { if ( !pBASM ) |