]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetexternal.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetexternal.h
index e8112e7cd1c56855e15b88847bfa7033c25a9cf1..4beca59ade374fe87c2d4481e730bc97266bebec 100644 (file)
@@ -24,7 +24,7 @@
 class RenderInset;
 
 ///
-class InsetExternal : public Inset, public boost::signals::trackable {
+class InsetExternal : public InsetOld, public boost::signals::trackable {
 public:
        /// hold parameters settable from the GUI
        struct Params {
@@ -79,7 +79,7 @@ public:
        virtual void validate(LaTeXFeatures & features) const;
 
        /// returns LyX code associated with the inset. Used for TOC, ...)
-       virtual Inset::Code lyxCode() const { return EXTERNAL_CODE; }
+       virtual InsetOld::Code lyxCode() const { return EXTERNAL_CODE; }
 
        ///
        virtual std::auto_ptr<InsetBase> clone() const;