]> git.lyx.org Git - lyx.git/blobdiff - src/PainterBase.h
get builddir!=srcdir compiling working; allow successful make even without noweb...
[lyx.git] / src / PainterBase.h
index 11624821e7a614b82ba3b3d52305255d487b66f0..47fa8c89939a805e7571d2f92711f9c776fe4a1b 100644 (file)
@@ -153,11 +153,11 @@ public:
        
        /// Draw a string at position x, y (y is the baseline)
        virtual PainterBase & text(int x, int y,
-                                  string const &str, LyXFont const & f) = 0;
+                                  string const & str, LyXFont const & f) = 0;
 
        /** Draw a string at position x, y (y is the baseline)
            This is just for fast drawing */
-       virtual PainterBase & text(int x, int y, char const * str, int l,
+       virtual PainterBase & text(int x, int y, char const * str, size_t l,
                       LyXFont const & f) = 0;
 
        /// Draw a char at position x, y (y is the baseline)