diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-19 15:33:43 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-10-26 16:04:02 +0100 |
commit | 91dc727611a4d4ca2bde04b048d1e517159eab9c (patch) | |
tree | 45c24622e01f952874b851f0ef78e97ef44836f5 /sd | |
parent | 479ddcb04bdd47fc46b40274a203a4f604d31053 (diff) |
afl-eventtesting: pCursor is null
Change-Id: I24d29ffc3cfcb00e513a5267619e143b028355ce
(cherry picked from commit 6c39f7bba64fd55488f840675fa83c3ba241bc74)
Reviewed-on: https://gerrit.libreoffice.org/19468
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 22c83fc1f7a2d2e6fd5ec1262b14e32a28fb2eae)
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index 59b9d0f45df8..ee0e892a69ae 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -1083,6 +1083,8 @@ void SdPageObjsTLB::KeyInput( const KeyEvent& rKEvt ) { // commented code from svtools/source/contnr/svimpbox.cxx SvTreeListEntry* pCursor = GetCurEntry(); + if (!pCursor) + return; if( pCursor->HasChildren() || pCursor->HasChildrenOnDemand() ) { if( IsExpanded( pCursor ) ) |