coverity#1132662 Dereference after null check

Change-Id: Iaccf8bb7903702d2bed3c4fc2195172e18ead6c7
This commit is contained in:
Norbert Thiebaud
2014-01-19 15:11:09 -06:00
parent 9fd10cca8e
commit 8db51361dc

View File

@@ -281,7 +281,7 @@ void VCLXAccessibleList::UpdateSelection_Impl_Acc(bool b_IsDropDownList)
{
//VCLXAccessibleDropdownListBox
//when in list is dropped down, xText = NULL
if (m_pListBoxHelper->IsInDropDown())
if (m_pListBoxHelper && m_pListBoxHelper->IsInDropDown())
{
if ( aNewValue.hasValue() || aOldValue.hasValue() )
{