]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/nullpainter.h
remove the constness of the two code strings because this does not pass boost_concept...
[lyx.git] / src / frontends / nullpainter.h
index 931e2bbc1e79a3d1b734f149e092a497a589c0eb..f2449a93184c548d60c251e763404b49e2d0ab47 100644 (file)
@@ -31,11 +31,6 @@ public:
        /// end painting
        void end() {}
 
-       ///
-       int paperWidth() const { return 0; }
-       ///
-       int paperHeight() const;
-
        ///
        void line(int, int, int, int, LColor_color,
                       line_style = line_solid, line_width = line_thin) {}
@@ -55,20 +50,20 @@ public:
        ///
        void button(int, int, int, int) {}
        ///
-       void image(int, int, int, int, lyx::graphics::Image const &) {}
+       void image(int, int, int, int, graphics::Image const &) {}
        ///
-       int text(int, int, lyx::docstring const &, LyXFont const &) { return 0; }
+       int text(int, int, docstring const &, LyXFont const &) { return 0; }
 //     ///
 //     int text(int, int, char const *, size_t, LyXFont const &) { return 0; }
        ///
-       int text(int, int, lyx::char_type const *, size_t, LyXFont const &) { return 0; }
+       int text(int, int, char_type const *, size_t, LyXFont const &) { return 0; }
        ///
-       int text(int, int, lyx::char_type, LyXFont const &) { return 0; }
+       int text(int, int, char_type, LyXFont const &) { return 0; }
        ///
-       void rectText(int, int, lyx::docstring const &,
+       void rectText(int, int, docstring const &,
                LyXFont const &, LColor_color, LColor_color) {}
        ///
-       void buttonText(int, int, lyx::docstring const &, LyXFont const &) {}
+       void buttonText(int, int, docstring const &, LyXFont const &) {}
        ///
        void underline(LyXFont const &, int, int, int) {}
        ///