]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettoc.C
* BufferParams:
[lyx.git] / src / insets / insettoc.C
index 3634ad751ba2eb63e8255f4a8db0e74539e5bfcc..bf4268674d5a0e1422b3fc274e1309c5f5e65546 100644 (file)
@@ -57,13 +57,13 @@ InsetBase::Code InsetTOC::lyxCode() const
 
 
 int InsetTOC::plaintext(Buffer const & buffer, odocstream & os,
-                        OutputParams const & runparams) const
+                        OutputParams const &) const
 {
        os << getScreenLabel(buffer) << "\n\n";
 
        buffer.tocBackend().writePlaintextTocList(getCmdName(), os);
 
-       return runparams.linelen; // start with column 0 in new line
+       return PLAINTEXT_NEWLINE;
 }