]> git.lyx.org Git - lyx.git/blobdiff - src/FontList.cpp
Clean includes in TextMetrics.cpp
[lyx.git] / src / FontList.cpp
index 9ccdfee55479be99d0dd85fafcf4d1da912b3dc7..c32666080df441c0c4026037b08aa0cde5f3122d 100644 (file)
@@ -112,14 +112,6 @@ void FontList::decreasePosAfterPos(pos_type pos)
 }
 
 
-void FontList::setRange(pos_type startpos, pos_type endpos, Font const & font)
-{
-       // FIXME: Optimize!!!
-       for (pos_type pos = startpos; pos != endpos; ++pos)
-               set(pos, font);
-}
-
-
 void FontList::set(pos_type pos, Font const & font)
 {
        // No need to simplify this because it will disappear