X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FFontList.cpp;h=afa7894ce9639067ad02a4dd3a51f4d570f42040;hb=82edf5907a9ce0c1254549eee484616957a36e7b;hp=36b79cec569901b66682dbaae87362faf226ef9c;hpb=1d2077e51e1bd7b7194a377be36ed171f9b974bc;p=lyx.git diff --git a/src/FontList.cpp b/src/FontList.cpp index 36b79cec56..afa7894ce9 100644 --- a/src/FontList.cpp +++ b/src/FontList.cpp @@ -181,18 +181,6 @@ void FontList::set(pos_type pos, Font const & font) } -void FontList::setMisspelled(pos_type startpos, pos_type endpos, - bool misspelled) -{ - // FIXME: Optimize!!! - for (pos_type pos = startpos; pos != endpos; ++pos) { - Font f = get(pos); - f.setMisspelled(misspelled); - set(pos, f); - } -} - - FontSize FontList::highestInRange(pos_type startpos, pos_type endpos, FontSize def_size) const {