X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FPainterBase.h;h=47fa8c89939a805e7571d2f92711f9c776fe4a1b;hb=ebfcf1c0e72288b7131607af0330500c8739cead;hp=11624821e7a614b82ba3b3d52305255d487b66f0;hpb=797d87b4513088a66b17c7ac653b84e36ea80458;p=lyx.git diff --git a/src/PainterBase.h b/src/PainterBase.h index 11624821e7..47fa8c8993 100644 --- a/src/PainterBase.h +++ b/src/PainterBase.h @@ -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)