]> git.lyx.org Git - lyx.git/commitdiff
Correct the return and parameter types to match the type of RenderBase::state_.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 13 Feb 2011 09:56:54 +0000 (09:56 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 13 Feb 2011 09:56:54 +0000 (09:56 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37623 a592a061-630c-0410-9148-cb99ea01b6c8

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; }