summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-09-02 18:20:52 +0200
committerEike Rathke <erack@redhat.com>2014-09-02 18:27:38 +0200
commit2be9ae72189e8b86d7e609727bab223645975ddb (patch)
tree2017551a3d20cc36493562ea7cd9da2da6609c12
parent7fb4fdcddca89a4191b83896a400e8835314da87 (diff)
check for empty slots' valid NULL pointer, fdo#79441
Change-Id: Ie81b8b00c1ab8776086bddeb7464bb7809914bf8
-rw-r--r--sc/source/core/data/bcaslot.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx
index 2192706c0416..db35f207dd85 100644
--- a/sc/source/core/data/bcaslot.cxx
+++ b/sc/source/core/data/bcaslot.cxx
@@ -1010,7 +1010,8 @@ std::vector<sc::AreaListener> ScBroadcastAreaSlotMachine::GetAllListeners(
while ( nOff <= nEnd )
{
ScBroadcastAreaSlot* p = *pp;
- p->GetAllListeners(rRange, aRet, eType);
+ if (p)
+ p->GetAllListeners(rRange, aRet, eType);
ComputeNextSlot( nOff, nBreak, pp, nStart, ppSlots, nRowBreak);
}
}