From 771940d5d73e062da6300cbee2eab12ab31981b2 Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Mon, 16 Mar 2020 02:18:19 -0400 Subject: [PATCH] Remove unused function --- src/FontList.cpp | 8 -------- src/FontList.h | 5 ----- 2 files changed, 13 deletions(-) diff --git a/src/FontList.cpp b/src/FontList.cpp index 9ccdfee554..c32666080d 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 6400f97524..2b09c11fb4 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);