]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathLefteqn.C
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / InsetMathLefteqn.C
index 121b9953abaf4c34b5a62b32c3725eb7e6442686..b75c0da0a916410f0b3994eb8bf2f3b4cd90a036 100644 (file)
@@ -15,6 +15,9 @@
 #include "support/std_ostream.h"
 
 
+namespace lyx {
+
+
 using std::string;
 using std::auto_ptr;
 
@@ -48,13 +51,16 @@ void InsetMathLefteqn::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-string InsetMathLefteqn::name() const
+docstring InsetMathLefteqn::name() const
 {
-       return "lefteqn";
+       return from_ascii("lefteqn");
 }
 
 
-void InsetMathLefteqn::infoize(std::ostream & os) const
+void InsetMathLefteqn::infoize(odocstream & os) const
 {
        os << "Lefteqn ";
 }
+
+
+} // namespace lyx