Related: fdo#73936 detect dropdown form fields as fields for spellchecking
so they will appear grayed in the spell check preview (they don't appear at all yet, they will in later commits) Change-Id: Ic0c6fe2979c7c731d0efb85c747afca2268abc53
This commit is contained in:
@@ -1658,6 +1658,11 @@ void SwSpellIter::AddPortion(uno::Reference< XSpellAlternatives > xAlt,
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if (cChar == CH_TXT_ATR_FORMELEMENT)
|
||||
{
|
||||
SwPosition aPos(*pCrsr->GetMark());
|
||||
bField = pMySh->GetDoc()->getIDocumentMarkAccess()->getFieldmarkFor(aPos);
|
||||
}
|
||||
|
||||
LanguageType eCurLanguage = lcl_GetLanguage(*GetSh());
|
||||
bool bRedline = aNextRedline.nLeft == pCrsr->GetPoint()->nContent.GetIndex();
|
||||
|
Reference in New Issue
Block a user