[LyX/master] Remove unused function

2022-03-04 Thread Juergen Spitzmueller
commit ad31043987bd55f0519448fd46dcf8ed96ce6475
Author: Juergen Spitzmueller 
Date:   Sat Mar 5 08:51:32 2022 +0100

Remove unused function
---
 src/Bullet.h |2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/Bullet.h b/src/Bullet.h
index b31602c..0de40c1 100644
--- a/src/Bullet.h
+++ b/src/Bullet.h
@@ -81,8 +81,6 @@ private:
///
void generateText() const;
///
-   void generateUnicode() const;
-   ///
static docstring const bulletSize(int);
///
static FontSize bulletFontSize(int);
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Remove unused function

2020-12-11 Thread Juergen Spitzmueller
commit b2ab3948328edac1676255de5a1fba7b8e83708d
Author: Juergen Spitzmueller 
Date:   Fri Dec 11 09:08:10 2020 +0100

Remove unused function
---
 src/frontends/qt/GuiApplication.h |3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/frontends/qt/GuiApplication.h 
b/src/frontends/qt/GuiApplication.h
index 2235fbc..f37e252 100644
--- a/src/frontends/qt/GuiApplication.h
+++ b/src/frontends/qt/GuiApplication.h
@@ -264,9 +264,6 @@ private:
 
 extern GuiApplication * guiApp;
 
-/// \return the icon file name for the given action.
-QString iconName(FuncRequest const & f, bool unknown,
- QString const & suffix = QString());
 
 /// \return the pixmap for the given path, name and extension.
 /// in case of errors a warning is produced and an empty pixmap is returned.
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Remove unused function

2020-03-16 Thread Richard Kimberly Heck
commit 771940d5d73e062da6300cbee2eab12ab31981b2
Author: Richard Kimberly Heck 
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
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Remove unused function.

2018-05-05 Thread Richard Kimberly Heck
commit c7a2011adf92bddf7dd9fc308b1df2c1dde9bef6
Author: Richard Kimberly Heck 
Date:   Sat May 5 12:02:10 2018 -0400

Remove unused function.
---
 src/Font.h|5 -
 src/Text3.cpp |6 --
 2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/Font.h b/src/Font.h
index 8b8ddf8..9ec853d 100644
--- a/src/Font.h
+++ b/src/Font.h
@@ -132,11 +132,6 @@ bool operator!=(Font const & font1, Font const & font2)
return !(font1 == font2);
 }
 
-/** Returns the current freefont, encoded as a std::string to be passed to the
- *  frontends. Implemented in Text3.cpp.
- */
-std::string const freefont2string();
-
 } // namespace lyx
 
 #endif
diff --git a/src/Text3.cpp b/src/Text3.cpp
index 572e4bd..9b0f50c 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -346,12 +346,6 @@ static bool doInsertInset(Cursor & cur, Text * text,
 }
 
 
-string const freefont2string()
-{
-   return freefont.toString(toggleall);
-}
-
-
 /// the type of outline operation
 enum OutlineOp {
OutlineUp, // Move this header with text down