]> git.lyx.org Git - features.git/commitdiff
* Painter::isDrawingEnabled():
authorAbdelrazak Younes <younes@lyx.org>
Mon, 30 Oct 2006 11:55:13 +0000 (11:55 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 30 Oct 2006 11:55:13 +0000 (11:55 +0000)
  - make the method const
  - delete the const on return value because they are not really mandatory for POD (Plain Old Data)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15617 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/Painter.h

index 925d489a563629e60249cd1b5dccf067f29c2b63..6badb61439038449ecb7a70e5f6541aa75a28b41 100644 (file)
@@ -175,7 +175,7 @@ protected:
        virtual void buttonFrame(int x, int y, int w, int h);
 
        /// Indicate wether real screen drawing shall be done or not.
-       bool const isDrawingEnabled() { return drawing_enabled_; }
+       bool isDrawingEnabled() const { return drawing_enabled_; }
 
 private:
        ///