]> git.lyx.org Git - lyx.git/blobdiff - src/metricsinfo.C
minimal effort implementation of:
[lyx.git] / src / metricsinfo.C
index 63d6f2eae3f133006697bcbf2b86fb26c472bb92..bb14576342a68163af4a899f3c9e440fb3994421 100644 (file)
@@ -20,6 +20,9 @@
 
 #include <boost/assert.hpp>
 
+using lyx::char_type;
+using lyx::docstring;
+
 using std::string;
 
 
@@ -53,13 +56,13 @@ PainterInfo::PainterInfo(BufferView * bv, lyx::frontend::Painter & painter)
 }
 
 
-void PainterInfo::draw(int x, int y, char c)
+void PainterInfo::draw(int x, int y, char_type c)
 {
        pain.text(x, y, c, base.font);
 }
 
 
-void PainterInfo::draw(int x, int y, std::string const & str)
+void PainterInfo::draw(int x, int y, docstring const & str)
 {
        pain.text(x, y, str, base.font);
 }