remove unneeded convertFont()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2427 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-06 17:27:42 +00:00
parent 8b7b3a5895
commit 8beaec704e
3 changed files with 3 additions and 23 deletions

View 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>

View 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()) {

View 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;
///