]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcaption.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetcaption.h
index 83da8b22b10c4b99866bf843c07ef8a818ad842a..a8b5321c9bfd6cf751e6176fa4494035b8b0d0f5 100644 (file)
@@ -30,7 +30,7 @@ public:
        ///
        virtual bool needFullRow() const;
        ///
-       virtual Inset::Code lyxCode() const;
+       virtual InsetOld::Code lyxCode() const;
        ///
        virtual string const editMessage() const;
        ///
@@ -60,7 +60,7 @@ bool InsetCaption::needFullRow() const
 
 
 inline
-Inset::Code InsetCaption::lyxCode() const
+InsetOld::Code InsetCaption::lyxCode() const
 {
        return CAPTION_CODE;
 }