void CWord::DeleteHomonym(CHomonym& hom) { if (!hom.IsDeleted()) { ++m_DeletedHomCount; hom.Delete(); } }
void CWord::UndeleteHomonym(CHomonym& hom) { if (hom.IsDeleted()) { if (m_DeletedHomCount > 0) --m_DeletedHomCount; hom.Undelete(); } }