]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathUnknown.cpp
Substack support for XHTML.
[lyx.git] / src / mathed / InsetMathUnknown.cpp
index 22ea1fc88832413e47f5b7548eb8e0b9112eb48e..03c41462f03ab680ad9b7cda87863facfa03309f 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -27,12 +27,6 @@ InsetMathUnknown::InsetMathUnknown(docstring const & nm,
 {}
 
 
-Inset * InsetMathUnknown::clone() const
-{
-       return new InsetMathUnknown(*this);
-}
-
-
 docstring InsetMathUnknown::name() const
 {
        return name_;
@@ -92,9 +86,15 @@ void InsetMathUnknown::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathUnknown::mathmlize(MathStream & os) const
+void InsetMathUnknown::mathmlize(MathStream &) const
+{
+       throw MathExportException();
+}
+
+
+void InsetMathUnknown::htmlize(HtmlStream &) const
 {
-       os << MTag("mi") << name_ << ETag("mi");
+       throw MathExportException();
 }