]> git.lyx.org Git - lyx.git/blobdiff - src/insets/RenderBase.h
Fix bug #8782.
[lyx.git] / src / insets / RenderBase.h
index 3244f1542224af81fa6e09fb40803b8bf551b421..cc1973e45978aadf06041b7bcc82af04d73d6135 100644 (file)
@@ -38,7 +38,7 @@ 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(bool state) { state_ = state; }
@@ -53,7 +53,7 @@ public:
 
 protected:
        RenderBase() : state_(false) {}
-       RenderBase(RenderBase const &x) : state_(x.state_){}
+       RenderBase(RenderBase const & x) : state_(x.state_) {}
        RenderBase & operator=(RenderBase const &) { return *this; }
 
        /// render state. currently, render_button uses this to store mouse_hover_