]> 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 5d81ff08bc9c329f352e7a1283c93174fa1e8e3c..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_; }