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:
Caolán McNamara
2014-03-27 15:52:31 +00:00
parent a52ee51269
commit c76b8783e2

View File

@@ -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();