]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSize.cpp
typo
[lyx.git] / src / mathed / InsetMathSize.cpp
index dff61da87b54c49502f6862e76b1a467df562823..5055f2d73e6c2612d7e9b5402ce4a8deb7f2a775 100644 (file)
@@ -16,6 +16,7 @@
 #include "MathData.h"
 #include "MathParser.h"
 #include "MathStream.h"
+#include "MetricsInfo.h"
 #include "output_xhtml.h"
 
 #include "support/convert.h"
@@ -58,7 +59,7 @@ void InsetMathSize::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-void InsetMathSize::write(WriteStream & os) const
+void InsetMathSize::write(TeXMathStream & os) const
 {
        MathEnsurer ensurer(os);
        os << "{\\" << key_->name << ' ' << cell(0) << '}';
@@ -72,7 +73,7 @@ void InsetMathSize::write(WriteStream & os) const
 //     \scriptscriptstyle. The corresponding values of displaystyle and scriptlevel
 //     for those TeX styles would be "true" and "0", "false" and "0", "false" and "1",
 //     and "false" and "2", respectively.
-void InsetMathSize::mathmlize(MathStream & ms) const
+void InsetMathSize::mathmlize(MathMLStream & ms) const
 {
        string const & name = to_utf8(key_->name);
        bool dispstyle = (name == "displaystyle");