summaryrefslogtreecommitdiff
path: root/sc/source/core/data/bcaslot.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-26 16:00:24 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-11-26 23:22:14 +0100
commit179b568a82e1506dced0d2f94c607f7bee2459fe (patch)
treea08ac400df7d0a82eb9019e593cfd03f9f34d6b4 /sc/source/core/data/bcaslot.cxx
parent264c136697bed318b324aa7412f22778b3c7020d (diff)
easy performance improvement related to fdo#48312
Change-Id: I61287dc910fb168c18fa7c9e46b8c29ae1300858
Diffstat (limited to 'sc/source/core/data/bcaslot.cxx')
-rw-r--r--sc/source/core/data/bcaslot.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx
index b30a21e3cdc3..116980d6b710 100644
--- a/sc/source/core/data/bcaslot.cxx
+++ b/sc/source/core/data/bcaslot.cxx
@@ -275,8 +275,8 @@ sal_Bool ScBroadcastAreaSlot::AreaBroadcast( const ScHint& rHint) const
return false;
sal_Bool bIsBroadcasted = false;
const ScAddress& rAddress = rHint.GetAddress();
- for (ScBroadcastAreas::const_iterator aIter( aBroadcastAreaTbl.begin());
- aIter != aBroadcastAreaTbl.end(); /* increment in body */ )
+ for (ScBroadcastAreas::const_iterator aIter( aBroadcastAreaTbl.begin()),
+ aIterEnd = aBroadcastAreaTbl.end(); aIter != aIterEnd; /* increment in body */ )
{
ScBroadcastArea* pArea = *aIter;
// A Notify() during broadcast may call EndListeningArea() and thus