coverity#1266454 Explicit null dereferenced

Change-Id: Ic8f13e9bd3755c9ccb59d173ac0a36be1d06a2f4
This commit is contained in:
Caolán McNamara
2015-01-25 20:54:51 +00:00
parent 383a5f2ef1
commit 54d8dbdcb4

View File

@@ -1663,9 +1663,11 @@ namespace accessibility
{
break;
}
if( nIndex >= reeBegin && nIndex < reeEnd )
if (!ree.pFieldItem)
continue;
if (nIndex >= reeBegin && nIndex < reeEnd)
{
if(ree.pFieldItem->GetField()->GetClassId() != text::textfield::Type::URL)
if (ree.pFieldItem->GetField()->GetClassId() != text::textfield::Type::URL)
{
nFoundFieldIndex = j;
break;