summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-19 20:38:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-19 20:39:14 +0100
commit3ebb9a26c26d78c9d1605264503b1d3f276b8729 (patch)
treee6fb9f5885dd47cbae915f8adec8d508f75e7b49 /vcl
parent15a7ae3e8008ef7dbafdcb4b7604cac1fe1f9061 (diff)
VclPtr: crash on exit if cursor is in fontsize widget in sidebar
Change-Id: I533abbe271beddbb6b60a7703fcf3d53fb5caeb7
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/control/combobox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index 688fff6af2bd..787d3b2ad9ed 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -807,7 +807,7 @@ void ComboBox::Modify()
void ComboBox::ImplUpdateFloatSelection()
{
- if (!mpImplLB)
+ if (!mpImplLB || !mpSubEdit)
return;
// move text in the ListBox into the visible region