summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-12-18 17:48:59 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-12-18 18:15:34 -0500
commit12a0bf110bca1f4365a254a09ebf8761ce222865 (patch)
treebb0a8475799c06e052f6e7f57fac95d57f562e52 /sc
parentd5452cef5f8c40fbb9da9e91c6606d525c98bfd3 (diff)
We don't need these yet.
Change-Id: Iff875a690f319eb92ccfb8010853714ac60dcc9a
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/document.hxx3
-rw-r--r--sc/source/core/data/documen7.cxx28
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 )