]> git.lyx.org Git - lyx.git/blobdiff - src/insets/RenderBase.h
Add Nomenclature to the TOC.
[lyx.git] / src / insets / RenderBase.h
index eec84ff6c5f2b50340f89c0bd741dd0c761eae8b..3244f1542224af81fa6e09fb40803b8bf551b421 100644 (file)
@@ -41,9 +41,9 @@ public:
        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; }