summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-25 20:53:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-25 20:53:34 +0000
commit383a5f2ef16853001353206b9c88edf13bb99ead (patch)
tree2bc0b3d388f11df1cec2b33482b0af405326368b /editeng
parentcb8aa4522f3b38f6d0242c3877322582157035c0 (diff)
coverity#1266453 Explicit null dereferenced
Change-Id: Ia03fdd3d854574ba19b028334e2397ad544fe20a
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index b95a1b333ea9..2f2c60841dd3 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -930,7 +930,7 @@ namespace accessibility
break;
}
}
- if( nFoundFieldIndex >= 0 )
+ if (nFoundFieldIndex >= 0 && ree.pFieldItem)
{
// So we get a field, check its type now.
nFieldType = ree.pFieldItem->GetField()->GetClassId() ;