]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathTabular.C
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / InsetMathTabular.C
index e0c56892410b42c7b39b2236db8aeeb9df9370e4..663559d79b6096b41e2da9d811d7626837e73387 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "InsetMathTabular.h"
 #include "MathData.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
 #include "MathStream.h"
 
 #include "support/lstrings.h"
@@ -28,19 +28,19 @@ using std::string;
 using std::auto_ptr;
 
 
-InsetMathTabular::InsetMathTabular(string const & name, int m, int n)
+InsetMathTabular::InsetMathTabular(docstring const & name, int m, int n)
        : InsetMathGrid(m, n), name_(name)
 {}
 
 
-InsetMathTabular::InsetMathTabular(string const & name, int m, int n,
-               char valign, string const & halign)
+InsetMathTabular::InsetMathTabular(docstring const & name, int m, int n,
+               char valign, docstring const & halign)
        : InsetMathGrid(m, n, valign, halign), name_(name)
 {}
 
 
-InsetMathTabular::InsetMathTabular(string const & name, char valign,
-               string const & halign)
+InsetMathTabular::InsetMathTabular(docstring const & name, char valign,
+               docstring const & halign)
        : InsetMathGrid(valign, halign), name_(name)
 {}
 
@@ -87,9 +87,9 @@ void InsetMathTabular::write(WriteStream & os) const
 }
 
 
-void InsetMathTabular::infoize(std::ostream & os) const
+void InsetMathTabular::infoize(odocstream & os) const
 {
-       string name = name_;
+       docstring name = name_;
        name[0] = support::uppercase(name[0]);
        os << name << ' ';
 }