summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-03-01 13:55:41 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-03-01 13:55:41 +0100
commit3cd728f92c76d747cca7c8ed1d81294d3d0e9e2f (patch)
tree5d4edd09e1f93b198c8fbe4bbde3cccf70a399a2 /sc
parent45aaec8206182c16025cbcb20651ddbdf558b95d (diff)
unusedcode.easy: remove ScBroadcastAreaSlotMachine::AreaBroadcastInRange
Change-Id: Ic9f2348d88be4da08ddb3fc01d7e68d22d478b98
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/bcaslot.cxx24
-rw-r--r--sc/source/core/inc/bcaslot.hxx1
2 files changed, 0 insertions, 25 deletions
diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx
index effbc39e067f..f5ea8ad3a6fc 100644
--- a/sc/source/core/data/bcaslot.cxx
+++ b/sc/source/core/data/bcaslot.cxx
@@ -946,30 +946,6 @@ bool ScBroadcastAreaSlotMachine::AreaBroadcast( const ScHint& rHint ) const
}
}
-bool ScBroadcastAreaSlotMachine::AreaBroadcastInRange( const ScRange& rRange,
- const ScHint& rHint ) const
-{
- bool bBroadcasted = false;
- SCTAB nEndTab = rRange.aEnd.Tab();
- for (TableSlotsMap::const_iterator iTab( aTableSlotsMap.lower_bound( rRange.aStart.Tab()));
- iTab != aTableSlotsMap.end() && (*iTab).first <= nEndTab; ++iTab)
- {
- ScBroadcastAreaSlot** ppSlots = (*iTab).second->getSlots();
- SCSIZE nStart, nEnd, nRowBreak;
- ComputeAreaPoints( rRange, nStart, nEnd, nRowBreak );
- SCSIZE nOff = nStart;
- SCSIZE nBreak = nOff + nRowBreak;
- ScBroadcastAreaSlot** pp = ppSlots + nOff;
- while ( nOff <= nEnd )
- {
- if ( *pp )
- bBroadcasted |= (*pp)->AreaBroadcastInRange( rRange, rHint );
- ComputeNextSlot( nOff, nBreak, pp, nStart, ppSlots, nRowBreak);
- }
- }
- return bBroadcasted;
-}
-
void ScBroadcastAreaSlotMachine::DelBroadcastAreasInRange(
const ScRange& rRange )
{
diff --git a/sc/source/core/inc/bcaslot.hxx b/sc/source/core/inc/bcaslot.hxx
index 144d2d7390be..77bfe37081ec 100644
--- a/sc/source/core/inc/bcaslot.hxx
+++ b/sc/source/core/inc/bcaslot.hxx
@@ -321,7 +321,6 @@ public:
bool AreaBroadcast( const ScRange& rRange, sal_uLong nHint );
bool AreaBroadcast( const ScHint& rHint ) const;
// return: at least one broadcast occurred
- bool AreaBroadcastInRange( const ScRange& rRange, const ScHint& rHint ) const;
void DelBroadcastAreasInRange( const ScRange& rRange );
void UpdateBroadcastAreas( UpdateRefMode eUpdateRefMode,
const ScRange& rRange,