X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontList.cpp;h=afa7894ce9639067ad02a4dd3a51f4d570f42040;hb=7c63b4f2603f2bccb00a9266fed08a14dcc0fb9c;hp=240ca4d91ce6f184e328235c6e3882fad64f939b;hpb=23fded1fc0b243e6afe16797b08cd33ce0997cec;p=lyx.git diff --git a/src/FontList.cpp b/src/FontList.cpp index 240ca4d91c..afa7894ce9 100644 --- a/src/FontList.cpp +++ b/src/FontList.cpp @@ -181,23 +181,6 @@ void FontList::set(pos_type pos, Font const & font) } -void FontList::setMisspelled(pos_type startpos, pos_type endpos, - bool misspelled) -{ - if (list_.empty()) - return; - - List::iterator end_it = fontIterator(endpos); - List::iterator const end = list_.end(); - if (end_it != end) - ++end_it; - - List::iterator cit = fontIterator(startpos); - for (; cit != end_it; ++cit) - cit->font_.setMisspelled(misspelled); -} - - FontSize FontList::highestInRange(pos_type startpos, pos_type endpos, FontSize def_size) const {