]> git.lyx.org Git - lyx.git/commitdiff
MathML: remove useless code
authorThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 20 Jan 2023 01:19:33 +0000 (02:19 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Fri, 20 Jan 2023 01:19:33 +0000 (02:19 +0100)
Contributed by lynx: https://www.lyx.org/trac/ticket/12629

src/mathed/InsetMathChar.cpp

index a5001fc2843ae7e9073b00a0a4ad2ce932bbdf0c..483bbb84039c91abf1e80405576d032c538aaffc 100644 (file)
@@ -258,8 +258,6 @@ void InsetMathChar::mathmlize(MathMLStream & ms) const
        char const * type =
                (isAlphaASCII(char_) || Encodings::isMathAlpha(char_))
                        ? "mi" : "mo";
-       // we don't use MTag and ETag because we do not want the spacing before the end tag.
-       docstring tag = from_ascii(ms.namespacedTag(type));
        ms << MTagInline(type)
           << char_type(char_)
           << ETagInline(type);