summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-18 14:34:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-18 15:36:19 +0100
commit59e8f814b088ed0e91b1261e42c5040c9abeb5e7 (patch)
treea2418d36f1ce0bc1053a906fb84559a96dd32dab /accessibility
parentccf492d844d580122464a482383c79d678185591 (diff)
coverity#1132662 Dereference after null check
Change-Id: Ifbaa05e70c8958d0289047efb75a13e0b8a13a4b
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index d54d515c3e77..77c597037642 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -262,7 +262,7 @@ void VCLXAccessibleList::UpdateSelection_Impl_Acc(bool b_IsDropDownList)
{
//VCLXAccessibleDropDownComboBox
//when in list is dropped down, xText = NULL
- if (m_pListBoxHelper->IsInDropDown())
+ if (m_pListBoxHelper && m_pListBoxHelper->IsInDropDown())
{
if ( aNewValue.hasValue() || aOldValue.hasValue() )
{