]> git.lyx.org Git - features.git/commitdiff
Remove unused function
authorRichard Kimberly Heck <rikiheck@lyx.org>
Mon, 16 Mar 2020 06:18:19 +0000 (02:18 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:54 +0000 (15:48 +0200)
src/FontList.cpp
src/FontList.h

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
index 6400f97524bf0c9b33a1cbfdd7761fd23f213a28..2b09c11fb41c09d2019dfe5ed46a1c078fa9a327 100644 (file)
@@ -96,11 +96,6 @@ public:
        ///
        void set(pos_type pos, Font const & font);
        ///
-       void setRange(
-               pos_type startpos,
-               pos_type endpos,
-               Font const & font);
-       ///
        void increasePosAfterPos(pos_type pos);
        ///
        void decreasePosAfterPos(pos_type pos);