]> git.lyx.org Git - lyx.git/commitdiff
remove unneeded convertFont()
authorAndré Pönitz <poenitz@gmx.net>
Mon, 6 Aug 2001 17:27:42 +0000 (17:27 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Mon, 6 Aug 2001 17:27:42 +0000 (17:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2427 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/formulabase.C
src/mathed/formulabase.h

index 9001a955789c7794ab0d510736e2c1376a8f5983..0e5460fc52f87030d9d9c4d30a5e358035a9596a 100644 (file)
@@ -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  <poenitz@gmx.net>
 
index 5cba2ecf434c13b42fe523e371074528a1cde6b3..b70923dec0eed36aa2974d6e794fe5b045516884 100644 (file)
@@ -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()) {
index a433d723bd52c2104c7b58c75ee35c8f2f88a0e6..cd80d0e92de163b33a3dccabd0808f3a043cc4e5 100644 (file)
@@ -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;
        ///