[LyX/master] MathML: remove useless code
Thibaut Cuvelier
tcuvelier at lyx.org
Fri Jan 20 00:59:11 UTC 2023
commit 5f7c26fbe52e2a55039996ad267e553dabbe9aa9
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Fri Jan 20 02:19:33 2023 +0100
MathML: remove useless code
Contributed by lynx: https://www.lyx.org/trac/ticket/12629
---
src/mathed/InsetMathChar.cpp | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp
index a5001fc..483bbb8 100644
--- a/src/mathed/InsetMathChar.cpp
+++ b/src/mathed/InsetMathChar.cpp
@@ -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);
More information about the lyx-cvs
mailing list