#include "support/lstrings.h"
+using namespace lyx::support;
+
using std::ostream;
using std::endl;
}
-Inset::Code InsetFloatList::lyxCode() const
+InsetOld::Code InsetFloatList::lyxCode() const
{
- return Inset::FLOAT_LIST_CODE;
+ return InsetOld::FLOAT_LIST_CODE;
}
int InsetFloatList::latex(Buffer const * buf, ostream & os,
- LatexRunParams const &,
- bool) const
+ LatexRunParams const &) const
{
FloatList const & floats = buf->params.getLyXTextClass().floats();
FloatList::const_iterator cit = floats[getCmdName()];
{
os << getScreenLabel(buffer) << "\n\n";
- toc::asciiTocList(getCmdName(), buffer, os);
+ lyx::toc::asciiTocList(getCmdName(), buffer, os);
os << "\n";
return 0;