]> git.lyx.org Git - features.git/blobdiff - src/insets/insettoc.C
fix lyxalgo.h, dra pagebreak with text on line, change the math_deco_search a bit
[features.git] / src / insets / insettoc.C
index 5936bfc9f409a93920792b3be2f59270926fab6a..2a04a0c03bf92679f2d6a6384cb090ff5277fcfe 100644 (file)
@@ -17,22 +17,6 @@ void InsetTOC::Edit(BufferView * bv, int, int, unsigned int)
        bv->owner()->getLyXFunc()->Dispatch(LFUN_TOCVIEW);
 }
 
-#ifndef USE_OSTREAM_ONLY
-int InsetTOC::Linuxdoc(string & file) const
-{
-       file += "<toc>";
-       return 0;
-}
-
-
-int InsetTOC::DocBook(string & file) const
-{
-       file += "<toc></toc>";
-       return 0;
-}
-
-#else
-
 int InsetTOC::Linuxdoc(ostream & os) const
 {
        os << "<toc>";
@@ -45,4 +29,3 @@ int InsetTOC::DocBook(ostream & os) const
        os << "<toc></toc>";
        return 0;
 }
-#endif