]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDFrac.C
Fix comment according to Enricos explanation
[lyx.git] / src / mathed / InsetMathDFrac.C
index cc2f0f64e80bc79dc1c8d274ebac015436be27d7..e2c771e091d904c0026cbc69a9a2bcba520a9d62 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "InsetMathDFrac.h"
 #include "MathData.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
 #include "LaTeXFeatures.h"
 #include "LColor.h"
 #include "frontends/Painter.h"
@@ -58,13 +58,13 @@ void InsetMathDFrac::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-string InsetMathDFrac::name() const
+docstring InsetMathDFrac::name() const
 {
-       return "dfrac";
+       return from_ascii("dfrac");
 }
 
 
-void InsetMathDFrac::mathmlize(MathMLStream & os) const
+void InsetMathDFrac::mathmlize(MathStream & os) const
 {
        os << MTag("mdfrac") << cell(0) << cell(1) << ETag("mdfrac");
 }