]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.cpp
Some things did not need to be mutable after all
[lyx.git] / src / insets / InsetInclude.cpp
index 1031f3a557ac66f92c9b6f08048123f2b424d147..47c9a613436cb262818da8d226178b8c81b408c4 100644 (file)
@@ -36,6 +36,7 @@
 #include "output_plaintext.h"
 #include "output_xhtml.h"
 #include "OutputParams.h"
+#include "texstream.h"
 #include "TextClass.h"
 #include "TocBackend.h"
 
@@ -1085,9 +1086,8 @@ bool preview_wanted(InsetCommandParams const & params, Buffer const & buffer)
 
 docstring latexString(InsetInclude const & inset)
 {
-       TexRow texrow;
        odocstringstream ods;
-       otexstream os(ods, texrow);
+       otexstream os(ods, false);
        // We don't need to set runparams.encoding since this will be done
        // by latex() anyway.
        OutputParams runparams(0);