summaryrefslogtreecommitdiff
path: root/editeng/source/accessibility
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-25 20:55:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-25 20:55:56 +0000
commit90ec1a60777ad9e78ad5fafd712cc98371782d7f (patch)
tree6642a3d15eb93dd2e6111fa938fa70db11fe449a /editeng/source/accessibility
parent54d8dbdcb4353c2a8ccd3b5955e626fcb330fa61 (diff)
coverity#1266455 Explicit null dereferenced
Change-Id: If772142b776d2365cbd2b7f0927975c2739c1316
Diffstat (limited to 'editeng/source/accessibility')
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index f5fabde65796..7fc13269bd6d 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -1701,6 +1701,8 @@ namespace accessibility
{
break;
}
+ if (!ree.pFieldItem)
+ continue;
if( (Segment.SegmentEnd > reeBegin && Segment.SegmentEnd <= reeEnd) ||
(Segment.SegmentStart >= reeBegin && Segment.SegmentStart < reeEnd) )
{