]> git.lyx.org Git - lyx.git/blobdiff - src/insets/RenderBase.h
Remove dead code + whitespace
[lyx.git] / src / insets / RenderBase.h
index eec84ff6c5f2b50340f89c0bd741dd0c761eae8b..7cb10a83a68a5d010eabf12c01a7ec843807dde6 100644 (file)
@@ -38,12 +38,12 @@ public:
        /// draw inset and update (xo, yo)-cache
        virtual void draw(PainterInfo & pi, int x, int y) const = 0;
        ///
-       Dimension const & dimension() const { return dim_; };
+       Dimension const & dimension() const { return dim_; }
 
        /// render state, exact meaning of state is render-specific
-       void setRenderState(int state) { state_ = state; }
+       void setRenderState(bool state) { state_ = state; }
        /// get render state
-       int renderState() const { return state_; }
+       bool renderState() const { return state_; }
 
        /// equivalent to dynamic_cast
        virtual RenderButton * asButton() { return 0; }