]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTOC.cpp
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / InsetTOC.cpp
index c1ead0f1142587c5799a7aedd7cc8f1fb5e235ca..0531d1f0f4d1c9d54754ff88b9e5a2829b8aadd8 100644 (file)
@@ -15,7 +15,6 @@
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "DispatchResult.h"
-#include "FuncRequest.h"
 #include "Language.h"
 #include "LaTeXFeatures.h"
 #include "OutputParams.h"
@@ -36,7 +35,7 @@ namespace lyx {
 
 
 InsetTOC::InsetTOC(Buffer * buf, InsetCommandParams const & p)
-       : InsetCommand(buf, p, "toc")
+       : InsetCommand(buf, p)
 {}
 
 
@@ -161,7 +160,7 @@ docstring InsetTOC::xhtml(XHTMLStream &, OutputParams const & op) const
                // FIXME XHTML 
                // There ought to be a simple way to customize this.
                // Maybe if we had an InsetLayout for TOC...
-               xs << XHTMLStream::NextRaw() << "&seArr;";
+               xs << XHTMLStream::NextRaw() << "&gt;";
                xs << html::EndTag("a");                
        }
        for (int i = lastdepth; i > 0; --i)