From ab2a59b0a1adc12b8b292d04795fbf50b8bc6ebf Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Tue, 30 Mar 2010 22:17:06 +0000 Subject: [PATCH] I don't think we need to do this for MathML or HTML. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33959 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathExFunc.cpp | 7 ------- src/mathed/InsetMathExFunc.h | 2 -- src/mathed/MathExtern.cpp | 2 +- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/mathed/InsetMathExFunc.cpp b/src/mathed/InsetMathExFunc.cpp index 25c8dcbaf9..61b3a43f16 100644 --- a/src/mathed/InsetMathExFunc.cpp +++ b/src/mathed/InsetMathExFunc.cpp @@ -122,13 +122,6 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const } -void InsetMathExFunc::mathmlize(MathStream & os) const -{ - os << "" << name_ << ""; - os << cell(0); -} - - void InsetMathExFunc::octave(OctaveStream & os) const { os << name_ << '(' << cell(0) << ')'; diff --git a/src/mathed/InsetMathExFunc.h b/src/mathed/InsetMathExFunc.h index fb6dda8b36..24e23d71b8 100644 --- a/src/mathed/InsetMathExFunc.h +++ b/src/mathed/InsetMathExFunc.h @@ -43,8 +43,6 @@ public: /// void mathematica(MathematicaStream &) const; /// - void mathmlize(MathStream &) const; - /// void octave(OctaveStream &) const; /// InsetCode lyxCode() const { return MATH_EXFUNC_CODE; } diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp index f394183965..a8fd9a173d 100644 --- a/src/mathed/MathExtern.cpp +++ b/src/mathed/MathExtern.cpp @@ -957,8 +957,8 @@ void extractStructure(MathData & ar, ExternalMath kind) extractSums(ar); extractNumbers(ar); extractMatrices(ar); - extractFunctions(ar, kind); if (kind != MATHML && kind != HTML) { + extractFunctions(ar, kind); extractDets(ar); extractDiff(ar); extractExps(ar);