]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathString.cpp
Fix parsing of functions and arguments for MathML.
[features.git] / src / mathed / InsetMathString.cpp
index 8b9db39c818facae13cab001d4dce3b7f6e6d0c2..2576ffc35812a3046980835a90eec9decae6e94c 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "support/debug.h"
 #include "support/gettext.h"
+#include "support/lassert.h"
 #include "support/lstrings.h"
 #include "support/textutils.h"
 
@@ -90,16 +91,8 @@ void InsetMathString::octave(OctaveStream & os) const
 
 void InsetMathString::mathmlize(MathStream & os) const
 {
-/*
-       if (code_ == LM_TC_VAR)
-               os << "<mi> " << str_ << " </mi>";
-       else if (code_ == LM_TC_CONST)
-               os << "<mn> " << str_ << " </mn>";
-       else if (code_ == LM_TC_RM || code_ == LM_TC_TEXTRM)
-               os << "<mtext> " << str_ <<  " </mtext>";
-       else
-*/
-               os << str_;
+       // useless, no doubt, but we should not be here
+       LASSERT(false, /* */);
 }