]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetcommand.h
index 8478ac9a7a0404a0c1154b3a3f5f25ef334f382a..e5dab95f81968df35e7ff2b05ccb47e1b8e61329 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 ///
-class InsetCommand : public Inset {
+class InsetCommand : public InsetOld {
 public:
        ///
        explicit
@@ -54,7 +54,7 @@ public:
        ///
        virtual int docbook(Buffer const *, std::ostream &, bool) const;
        ///
-       Inset::Code lyxCode() const { return Inset::NO_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::NO_CODE; }
 
        ///
        InsetCommandParams const & params() const { return p_; }
@@ -100,7 +100,7 @@ public:
        ///
        virtual string const & name() const { return name_; }
        ///
-       virtual string const inset2string() const;
+       virtual string const inset2string(Buffer const &) const;
        ///
        static void string2params(string const &, InsetCommandParams &);
        ///