]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.h
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetref.h
index 33fe12056a568f7fb3132aec06df48811da7050a..3ec8215fa24c8ab6748ebdccfae60dfe68ab8a88 100644 (file)
@@ -52,7 +52,7 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       Inset::Code lyxCode() const { return Inset::REF_CODE; }
+       InsetOld::Code lyxCode() const { return InsetOld::REF_CODE; }
        ///
        bool display() const { return false; }
        ///