]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfloatlist.C
hopefully fix tex2lyx linking.
[lyx.git] / src / insets / insetfloatlist.C
index 3ad0c27545c05edd19ea00b5400c27948a60d217..2e2aa13b42707aeef89055e09bfa1751d2b6aad3 100644 (file)
@@ -23,7 +23,7 @@
 #include "LaTeXFeatures.h"
 #include "lyxlex.h"
 #include "metricsinfo.h"
-#include "toc.h"
+#include "TocBackend.h"
 
 #include "support/lstrings.h"
 
@@ -133,7 +133,7 @@ int InsetFloatList::plaintext(Buffer const & buffer, odocstream & os,
 {
        os << getScreenLabel(buffer) << "\n\n";
 
-       toc::asciiTocList(to_ascii(getParam("type")), buffer, os);
+       buffer.tocBackend().asciiTocList(to_ascii(getParam("type")), os);
 
        os << "\n";
        return 0;