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; }