]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetwrap.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetwrap.h
index f483fb7177c2f964d4fcc09819acdb84d7092232..5a6e6a011b148a5ffefc9ba74d99c722b215f2c6 100644 (file)
@@ -52,7 +52,7 @@ public:
        ///
        virtual std::auto_ptr<InsetBase> clone() const;
        ///
-       Inset::Code lyxCode() const { return Inset::WRAP_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::WRAP_CODE; }
        ///
        int latex(Buffer const *, std::ostream &,
                  LatexRunParams const &) const;
@@ -61,9 +61,9 @@ public:
        ///
        string const editMessage() const;
        ///
-       bool insetAllowed(Inset::Code) const;
+       bool insetAllowed(InsetOld::Code) const;
        ///
-       void addToToc(toc::TocList &, Buffer const *) const;
+       void addToToc(lyx::toc::TocList &, Buffer const *) const;
        ///
        bool  showInsetDialog(BufferView *) const;
        ///