]> git.lyx.org Git - lyx.git/commitdiff
MathML and HTML definitely can't handle MathUnknown!!
authorRichard Heck <rgheck@comcast.net>
Thu, 29 Jul 2010 15:48:01 +0000 (15:48 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 29 Jul 2010 15:48:01 +0000 (15:48 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35028 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathUnknown.cpp
src/mathed/InsetMathUnknown.h

index 2cd11c2a8666ed1f537ab58ac6e026fcbe3b6552..03c41462f03ab680ad9b7cda87863facfa03309f 100644 (file)
@@ -86,9 +86,15 @@ void InsetMathUnknown::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathUnknown::mathmlize(MathStream & os) const
+void InsetMathUnknown::mathmlize(MathStream &) const
 {
-       os << MTag("mi") << name_ << ETag("mi");
+       throw MathExportException();
+}
+
+
+void InsetMathUnknown::htmlize(HtmlStream &) const
+{
+       throw MathExportException();
 }
 
 
index b43bcfd6721a010e594b4dfba2d3ee8645f8495d..0436be5df636c07054720cb1385e9623a922c14f 100644 (file)
@@ -52,6 +52,8 @@ public:
        ///
        void mathmlize(MathStream &) const;
        ///
+       void htmlize(HtmlStream &) const;
+       ///
        void octave(OctaveStream &) const;
        ///
        void finalize();