]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.cpp
Add Nomenclature to the TOC.
[lyx.git] / src / insets / InsetWrap.cpp
index f15b0dd43c45d49e69b7e2a9a665d2a297c93233..181474a889feb3f7ed5e49795f9005805f7123bb 100644 (file)
@@ -35,6 +35,8 @@
 
 #include "frontends/Application.h"
 
+#include <climits>
+
 using namespace std;
 
 
@@ -201,11 +203,12 @@ void InsetWrap::latex(otexstream & os, OutputParams const & runparams_in) const
 }
 
 
-int InsetWrap::plaintext(odocstream & os, OutputParams const & runparams) const
+int InsetWrap::plaintext(odocstringstream & os,
+        OutputParams const & runparams, size_t max_length) const
 {
        os << '[' << buffer().B_("wrap") << ' '
                << floatName(params_.type) << ":\n";
-       InsetText::plaintext(os, runparams);
+       InsetText::plaintext(os, runparams, max_length);
        os << "\n]";
 
        return PLAINTEXT_NEWLINE + 1; // one char on a separate line