#include "debug.h"
#include "undo.h"
-#include "frontends/LyXView.h"
-
#include "insets/insetfloat.h"
#include "insets/insetoptarg.h"
#include "insets/insetwrap.h"
namespace lyx {
namespace toc {
-typedef map<Buffer const *, lyx::TocBackend> TocMap;
+typedef map<Buffer const *, TocBackend> TocMap;
static TocMap toc_backend_;
///////////////////////////////////////////////////////////////////////////
}
-void asciiTocList(string const & type, Buffer const & buf, ostream & os)
+void asciiTocList(string const & type, Buffer const & buf, odocstream & os)
{
toc_backend_[&buf].asciiTocList(type, os);
}