]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnknown.cpp
Small improvement for bug #7509 as suggested by JMarc
[lyx.git] / src / mathed / InsetMathUnknown.cpp
index ae6f8ce005eaed85851bfcb2477defbf5b0beefd..03c41462f03ab680ad9b7cda87863facfa03309f 100644 (file)
@@ -86,10 +86,15 @@ void InsetMathUnknown::mathematica(MathematicaStream & os) const
 }
 
 
-docstring InsetMathUnknown::mathmlize(MathStream & os) const
+void InsetMathUnknown::mathmlize(MathStream &) const
 {
-       os << MTag("mi") << name_ << ETag("mi");
-       return docstring();
+       throw MathExportException();
+}
+
+
+void InsetMathUnknown::htmlize(HtmlStream &) const
+{
+       throw MathExportException();
 }