From 8beaec704ec892cfdf060a32822fe2edb671889a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 6 Aug 2001 17:27:42 +0000 Subject: [PATCH] remove unneeded convertFont() git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2427 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 4 +++- src/mathed/formulabase.C | 18 ------------------ src/mathed/formulabase.h | 4 ---- 3 files changed, 3 insertions(+), 23 deletions(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 9001a95578..0e5460fc52 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -7,7 +7,9 @@ * math_funcliminset.[Ch]: dedicated new inset for \lim, \max, \min... - * math_diminset.h: make cahce variables mutable + * math_diminset.h: make cache variables mutable, remove const_cast + + * formulabase.[Ch]: remove unneeded convertFont() 2001-08-01 André Pönitz diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 5cba2ecf43..b70923dec0 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -890,24 +890,6 @@ Inset::Code InsetFormulaBase::lyxCode() const } -#if 0 -LyXFont const InsetFormulaBase::convertFont(LyXFont const & f) const -{ -#warning Andre, you should be able to remove this now? - // or change it to -#if 1 - return f; -#else - // (Lgb) - - // We have already discussed what was here - LyXFont font(f); - return font; -#endif -} -#endif - - void mathDispatchCreation(BufferView * bv, string const & arg, bool display) { if (bv->available()) { diff --git a/src/mathed/formulabase.h b/src/mathed/formulabase.h index a433d723bd..cd80d0e92d 100644 --- a/src/mathed/formulabase.h +++ b/src/mathed/formulabase.h @@ -82,10 +82,6 @@ public: virtual Inset * clone(Buffer const &, bool same_id = false) const = 0; /// virtual Inset::Code lyxCode() const; -#if 0 - /// - virtual LyXFont const convertFont(LyXFont const & f) const; -#endif /// what appears in the minibuffer when opening virtual string const editMessage() const; /// -- 2.39.2