]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.h
Fixup f3a0e8ff: costly thinko
[lyx.git] / src / output_plaintext.h
index 5e88d0e765fd95dcb459b02866f4ad093d840920..8b2e4f9d1c04f68d99b9f21a22b0029813d8ef57 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
 #ifndef OUTPUT_PLAINTEXT_H
 #define OUTPUT_PLAINTEXT_H
 
-#include "support/docstream.h"
+#include "support/strfwd.h"
+#include "support/types.h"
+
+#include <climits>
 
 
 namespace lyx {
@@ -33,10 +36,11 @@ void writePlaintextFile(Buffer const & buf, odocstream &, OutputParams const &);
 
 ///
 void writePlaintextParagraph(Buffer const & buf,
-                   Paragraph const & paragraphs,
+                   Paragraph const & par,
                    odocstream & ofs,
                    OutputParams const &,
-                   bool & ref_printed);
+                   bool & ref_printed,
+                   size_t max_length = INT_MAX);
 
 } // namespace lyx