]> git.lyx.org Git - lyx.git/blobdiff - src/FontList.cpp
Sanitize cursors after a buffer has been reloaded
[lyx.git] / src / FontList.cpp
index 9ccdfee55479be99d0dd85fafcf4d1da912b3dc7..67fb8354b0617500c66cd4625398de501826b801 100644 (file)
@@ -20,8 +20,6 @@
 
 #include "FontList.h"
 
-#include "support/lyxalgo.h"
-
 using namespace std;
 
 namespace lyx {
@@ -112,14 +110,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