* Painter::isDrawingEnabled():

- 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
This commit is contained in:
Abdelrazak Younes 2006-10-30 11:55:13 +00:00
parent 662974406a
commit 7a4c86b184

View 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:
///