summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-22 19:10:26 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-22 19:10:26 +0000
commit4fecc8cb22c61b2915627ec5732babbe9c16fd43 (patch)
tree705f39f04638f09630ec4977b51b30f7f908d9bf /sw
parent691cbc64250e18bfd9c7e02745b2ac4c35d87ea4 (diff)
fix coverity#983381
Change-Id: Ief19052360760977f86b8aa0aa066c9d2b741c98
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/pam.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index bccdceed8623..3fa9a4069d3c 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -724,7 +724,7 @@ bool SwPaM::HasReadonlySel( bool bFormView, bool bAnnotationMode ) const
// exactly at the end.
SwPosition aPrevChar(*GetPoint());
aPrevChar.nContent--;
- sw::mark::IFieldmark* pFieldmark = pMarksAccess->getFieldmarkFor(aPrevChar);
+ pFieldmark = pMarksAccess->getFieldmarkFor(aPrevChar);
if (pFieldmark && pFieldmark->GetMarkEnd() == *GetPoint())
bRet = true;
}