fix coverity#983381
Change-Id: Ief19052360760977f86b8aa0aa066c9d2b741c98
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user