]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetgraphics.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetgraphics.h
index dd49f5334f3a10b693db8e67b675e8e57c1c03a4..b91cd04c6ce56d06a06b2b31f99f4c5d91eac067 100644 (file)
@@ -25,7 +25,7 @@ class GraphicRenderer;
 class LaTeXFeatures;
 
 ///
-class InsetGraphics : public Inset, public boost::signals::trackable {
+class InsetGraphics : public InsetOld, public boost::signals::trackable {
 public:
        ///
        InsetGraphics();
@@ -65,7 +65,7 @@ public:
        void validate(LaTeXFeatures & features) const;
 
        /// returns LyX code associated with the inset. Used for TOC, ...)
-       Inset::Code lyxCode() const { return Inset::GRAPHICS_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::GRAPHICS_CODE; }
 
        ///
        virtual std::auto_ptr<InsetBase> clone() const;