]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.h
make code look a bit more uniform
[lyx.git] / src / insets / InsetTabular.h
index 78727b0f5cb12d32793dd0ce6d870a72d8edbb3c..aaa593fca6ccc799cd97bc6af75ec18e488c8825 100644 (file)
@@ -755,18 +755,17 @@ public:
        ///
        mutable Tabular tabular;
 
-protected:
+private:
        ///
        InsetTabular(InsetTabular const &);
        ///
-       virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
+       void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
        ///
        int scroll() const { return scx_; }
-
-private:
-       Inset * clone() const;
+       ///
+       Inset * clone() const { return new InsetTabular(*this); }
 
        ///
        void drawCellLines(frontend::Painter &, int x, int y, row_type row,