summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/bcaslot.cxx51
-rw-r--r--sc/source/core/inc/bcaslot.hxx3
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 55 deletions
diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx
index f5ea8ad3a6fc..767fb7b10712 100644
--- a/sc/source/core/data/bcaslot.cxx
+++ b/sc/source/core/data/bcaslot.cxx
@@ -412,57 +412,6 @@ bool ScBroadcastAreaSlot::AreaBroadcast( const ScHint& rHint)
return bIsBroadcasted;
}
-bool ScBroadcastAreaSlot::AreaBroadcastInRange( const ScRange& rRange,
- const ScHint& rHint)
-{
- if (aBroadcastAreaTbl.empty())
- return false;
- bool bInBroadcast = mbInBroadcastIteration;
- mbInBroadcastIteration = true;
- bool bIsBroadcasted = false;
-
- mbHasErasedArea = false;
-
- for (ScBroadcastAreas::const_iterator aIter( aBroadcastAreaTbl.begin()),
- aIterEnd( aBroadcastAreaTbl.end()); aIter != aIterEnd; ++aIter )
- {
- if (mbHasErasedArea && isMarkedErased( aIter))
- continue;
-
- ScBroadcastArea* pArea = (*aIter).mpArea;
- const ScRange& rAreaRange = pArea->GetRange();
- if (rAreaRange.Intersects( rRange ))
- {
- if (pArea->IsGroupListening())
- {
- if (pBASM->IsInBulkBroadcast())
- {
- pBASM->InsertBulkGroupArea(pArea, rRange);
- }
- else
- {
- pArea->GetBroadcaster().Broadcast( rHint);
- bIsBroadcasted = true;
- }
- }
- else if (!pBASM->IsInBulkBroadcast() || pBASM->InsertBulkArea( pArea))
- {
- pArea->GetBroadcaster().Broadcast( rHint);
- bIsBroadcasted = true;
- }
- }
- }
-
- mbInBroadcastIteration = bInBroadcast;
-
- // A Notify() during broadcast may call EndListeningArea() and thus dispose
- // an area if it was the last listener, which would invalidate an iterator
- // pointing to it, hence the real erase is done afterwards.
- FinallyEraseAreas();
-
- return bIsBroadcasted;
-}
-
void ScBroadcastAreaSlot::DelBroadcastAreasInRange( const ScRange& rRange )
{
if (aBroadcastAreaTbl.empty())
diff --git a/sc/source/core/inc/bcaslot.hxx b/sc/source/core/inc/bcaslot.hxx
index 77bfe37081ec..80b108e744aa 100644
--- a/sc/source/core/inc/bcaslot.hxx
+++ b/sc/source/core/inc/bcaslot.hxx
@@ -218,9 +218,6 @@ public:
bool AreaBroadcast( const ScRange& rRange, sal_uLong nHint );
bool AreaBroadcast( const ScHint& rHint );
- /// @return true if at least one broadcast occurred.
- bool AreaBroadcastInRange( const ScRange& rRange,
- const ScHint& rHint );
void DelBroadcastAreasInRange( const ScRange& rRange );
void UpdateRemove( UpdateRefMode eUpdateRefMode,
const ScRange& rRange,
diff --git a/unusedcode.easy b/unusedcode.easy
index 99f7933cc148..a0d4860d2da4 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*)
-ScBroadcastAreaSlot::AreaBroadcastInRange(ScRange const&, ScHint const&)
ScCellValue::set(ScRefCellValue const&)
ScCondFormatManagerDlg::IsInRefMode() const
ScDocument::CreateFormatTable() const