diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-03-01 13:55:41 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-03-01 13:55:41 +0100 |
commit | 3cd728f92c76d747cca7c8ed1d81294d3d0e9e2f (patch) | |
tree | 5d4edd09e1f93b198c8fbe4bbde3cccf70a399a2 | |
parent | 45aaec8206182c16025cbcb20651ddbdf558b95d (diff) |
unusedcode.easy: remove ScBroadcastAreaSlotMachine::AreaBroadcastInRange
Change-Id: Ic9f2348d88be4da08ddb3fc01d7e68d22d478b98
-rw-r--r-- | sc/source/core/data/bcaslot.cxx | 24 | ||||
-rw-r--r-- | sc/source/core/inc/bcaslot.hxx | 1 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
3 files changed, 0 insertions, 26 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, diff --git a/unusedcode.easy b/unusedcode.easy index 72884d27c744..68341cbbd4e2 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -19,7 +19,6 @@ Primitive2dXmlDump::filterActionType(unsigned short, bool) Primitive2dXmlDump::filterAllActionTypes() Printer::Error() SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*) -ScBroadcastAreaSlotMachine::AreaBroadcastInRange(ScRange const&, ScHint const&) const ScCellValue::set(ScRefCellValue const&) ScCondFormatManagerDlg::IsInRefMode() const ScDocument::CreateFormatTable() const |