summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-04-25 12:15:43 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-25 12:15:43 +0100
commitca7c519c6e95890deb047ea6137303b8ec55c491 (patch)
treed71f97f91551794b11ef9c53cf675c844408fe77
parent3592db637db2998692545bffc0b9c74b69acae40 (diff)
Make combobox tolerate post-dispose usage better.
Change-Id: I5d7127bfc639591862cea91f0597ef050112b43b
-rw-r--r--vcl/source/control/combobox.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index 94b8f3cfaa36..460632568f30 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -804,6 +804,9 @@ void ComboBox::Modify()
void ComboBox::ImplUpdateFloatSelection()
{
+ if (!mpImplLB)
+ return;
+
// move text in the ListBox into the visible region
mpImplLB->SetCallSelectionChangedHdl( false );
if ( !IsMultiSelectionEnabled() )