]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Painter.h
Constify
[lyx.git] / src / frontends / Painter.h
index 718718f9798a30682dc6b9f9efee81f851ec0d82..e2796d97d92e518f13adb015de42b7eaba0bc2ac 100644 (file)
@@ -154,7 +154,7 @@ public:
 
        double pixelRatio() const { return pixel_ratio_; }
 
-       double develMode() const { return devel_mode_; }
+       bool develMode() const { return devel_mode_; }
 
        /// draw the underbar, strikeout, xout, uuline and uwave font attributes
        virtual void textDecoration(FontInfo const & f, int x, int y, int width) = 0;