diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/listbox.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx index 5b35044b2aab..defffb2aabe6 100644 --- a/vcl/source/control/listbox.cxx +++ b/vcl/source/control/listbox.cxx @@ -1190,6 +1190,8 @@ void ListBox::EnableMultiSelection( bool bMulti, bool bStackSelection ) bool ListBox::IsMultiSelectionEnabled() const { + if (!mpImplLB) + return false; return mpImplLB->IsMultiSelectionEnabled(); } |