[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Eike Rathke
erack at redhat.com
Tue Sep 2 13:58:09 PDT 2014
sc/source/core/data/bcaslot.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit a7f7b93299a9a7af8b243099f78f236172c4cb51
Author: Eike Rathke <erack at redhat.com>
Date: Tue Sep 2 18:20:52 2014 +0200
check for empty slots' valid NULL pointer, fdo#79441
Change-Id: Ie81b8b00c1ab8776086bddeb7464bb7809914bf8
(cherry picked from commit 2be9ae72189e8b86d7e609727bab223645975ddb)
Reviewed-on: https://gerrit.libreoffice.org/11259
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/core/data/bcaslot.cxx b/sc/source/core/data/bcaslot.cxx
index 1eff597..232c227 100644
--- a/sc/source/core/data/bcaslot.cxx
+++ b/sc/source/core/data/bcaslot.cxx
@@ -1043,7 +1043,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);
}
}
More information about the Libreoffice-commits
mailing list