summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx5
-rw-r--r--sc/source/core/data/document10.cxx20
-rw-r--r--sc/source/ui/undo/undoblk.cxx2
3 files changed, 1 insertions, 26 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 3b106d75a1b7..6a980ab298f2 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1808,11 +1808,6 @@ public:
*/
void Broadcast( const ScHint& rHint );
- /**
- * Cell broadcast in specified range.
- */
- void BroadcastCells( const ScRange& rRange, 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/document10.cxx b/sc/source/core/data/document10.cxx
index 805fb3cc826e..ee3e35d543a6 100644
--- a/sc/source/core/data/document10.cxx
+++ b/sc/source/core/data/document10.cxx
@@ -170,24 +170,4 @@ bool ScDocument::CopyOneCellFromClip(
return true;
}
-void ScDocument::BroadcastCells( const ScRange& rRange, sal_uLong nHint )
-{
- ScHint aHint(nHint, ScAddress());
- ScAddress& rPos = aHint.GetAddress();
-
- for (SCTAB nTab = rRange.aStart.Tab(); nTab <= rRange.aEnd.Tab(); ++nTab)
- {
- rPos.SetTab(nTab);
- for (SCCOL nCol = rRange.aStart.Col(); nCol <= rRange.aEnd.Col(); ++nCol)
- {
- rPos.SetCol(nCol);
- for (SCROW nRow = rRange.aStart.Row(); nRow <= rRange.aEnd.Row(); ++nRow)
- {
- rPos.SetRow(nRow);
- Broadcast(aHint);
- }
- }
- }
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx
index 9d8330901356..ffbda7a84f57 100644
--- a/sc/source/ui/undo/undoblk.cxx
+++ b/sc/source/ui/undo/undoblk.cxx
@@ -787,7 +787,7 @@ void ScUndoCut::DoChange( const sal_Bool bUndo )
if ( pChangeTrack )
pChangeTrack->Undo( nStartChangeAction, nEndChangeAction );
- pDoc->BroadcastCells(aCopyRange, SC_HINT_DATACHANGED);
+ BroadcastChanges(aCopyRange);
}
else // only for Redo
{