]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.C
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetindex.C
index 47eb3810c98fca145d89cd9d2c731ac2b1a829f3..d16a47a5d9771455202775366c4b752e7c15ff41 100644 (file)
@@ -65,9 +65,9 @@ int InsetIndex::docbook(Buffer const *, ostream & os, bool) const
 }
 
 
-Inset::Code InsetIndex::lyxCode() const
+InsetOld::Code InsetIndex::lyxCode() const
 {
-       return Inset::INDEX_CODE;
+       return InsetOld::INDEX_CODE;
 }
 
 
@@ -98,7 +98,7 @@ void InsetPrintIndex::validate(LaTeXFeatures & features) const
 }
 
 
-Inset::Code InsetPrintIndex::lyxCode() const
+InsetOld::Code InsetPrintIndex::lyxCode() const
 {
-       return Inset::INDEX_PRINT_CODE;
+       return InsetOld::INDEX_PRINT_CODE;
 }