]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.h
Fix logic error that led to bug #8777. I have no idea what I was
[lyx.git] / src / insets / InsetTabular.h
index e4651a3b8fded091718795daa402de22d03c137c..1fed9bea174b96c1701d91c4085decfa146e2276 100644 (file)
@@ -57,7 +57,7 @@ public:
        ///
        InsetCode lyxCode() const { return CELL_CODE; }
        ///
-       Inset * clone() { return new InsetTableCell(*this); }
+       Inset * clone() const { return new InsetTableCell(*this); }
        ///
        bool getStatus(Cursor & cur, FuncRequest const & cmd,
                FuncStatus & status) const;
@@ -854,6 +854,8 @@ public:
            insets that may contain several paragraphs */
        bool inheritFont() const { return false; }
        ///
+       bool allowsCaptionVariation(std::string const &) const;
+       ///
        DisplayType display() const;
        ///
        void latex(otexstream &, OutputParams const &) const;