diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-19 15:33:43 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-19 15:42:51 +0100 |
commit | 6c39f7bba64fd55488f840675fa83c3ba241bc74 (patch) | |
tree | cda23c79eb1355229ed0030d96fb08dcf8f7f085 /sd/source/ui/dlg | |
parent | 4ec44fc1a8cf7cdfb6ddceacdaf7354551064971 (diff) |
afl-eventtesting: pCursor is null
Change-Id: I24d29ffc3cfcb00e513a5267619e143b028355ce
Diffstat (limited to 'sd/source/ui/dlg')
-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 fafaafe8eedd..7993f5dae0d3 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 ) ) |