commit 771940d5d73e062da6300cbee2eab12ab31981b2
Author: Richard Kimberly Heck <[email protected]>
Date:   Mon Mar 16 02:18:19 2020 -0400

    Remove unused function
---
 src/FontList.cpp |    8 --------
 src/FontList.h   |    5 -----
 2 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/src/FontList.cpp b/src/FontList.cpp
index 9ccdfee..c326660 100644
--- a/src/FontList.cpp
+++ b/src/FontList.cpp
@@ -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
diff --git a/src/FontList.h b/src/FontList.h
index 6400f97..2b09c11 100644
--- a/src/FontList.h
+++ b/src/FontList.h
@@ -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);
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to