]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/TextPainter.C
fix reading UTF8 encoded symbol file
[lyx.git] / src / mathed / TextPainter.C
index 089a41f5c33eda38f28a59bf78449a35ce404326..9ee7f48b1ba5d7da9e9ed93c392cfe16892013eb 100644 (file)
@@ -14,7 +14,7 @@
 #include "support/std_ostream.h"
 
 
-using lyx::char_type;
+namespace lyx {
 
 
 TextPainter::TextPainter(int xmax, int ymax)
@@ -65,7 +65,7 @@ void TextPainter::draw(int x, int y, char_type c)
 }
 
 
-void TextPainter::show(lyx::odocstream & os, int offset) const
+void TextPainter::show(odocstream & os, int offset) const
 {
        os << '\n';
        for (int j = 0; j <= ymax_; ++j) {
@@ -76,3 +76,6 @@ void TextPainter::show(lyx::odocstream & os, int offset) const
                os << '\n';
        }
 }
+
+
+} // namespace lyx