]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloatlist.C
prevent crash when inserting minipage in table cell,
[lyx.git] / src / insets / insetfloatlist.C
index 578b057acf3940bf93e047d2625e9ff60a8f1477..449312d34755c639ae7e9fa9b35a262e99ce04c3 100644 (file)
@@ -60,9 +60,9 @@ string const InsetFloatList::getScreenLabel(Buffer const * buf) const
 }
 
 
-Inset::Code InsetFloatList::lyxCode() const
+InsetOld::Code InsetFloatList::lyxCode() const
 {
-       return Inset::FLOAT_LIST_CODE;
+       return InsetOld::FLOAT_LIST_CODE;
 }
 
 
@@ -143,7 +143,7 @@ int InsetFloatList::ascii(Buffer const * buffer, ostream & os, int) const
 {
        os << getScreenLabel(buffer) << "\n\n";
 
-       toc::asciiTocList(getCmdName(), buffer, os);
+       lyx::toc::asciiTocList(getCmdName(), buffer, os);
 
        os << "\n";
        return 0;