]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetListings.cpp
Rationalise includes
[features.git] / src / insets / InsetListings.cpp
index 91125d8895796518c3fb89f179f56eb525f1bf62..e4b8c7f1eef81d86f710b3203403afe96ea536b2 100644 (file)
@@ -30,6 +30,7 @@
 #include "output_xhtml.h"
 #include "OutputParams.h"
 #include "TextClass.h"
+#include "texstream.h"
 
 #include "support/debug.h"
 #include "support/docstream.h"
@@ -395,9 +396,8 @@ docstring InsetListings::getCaption(OutputParams const & runparams) const
        if (ins == 0)
                return docstring();
 
-       TexRow texrow;
        odocstringstream ods;
-       otexstream os(ods, texrow);
+       otexstream os(ods, false);
        ins->getArgs(os, runparams);
        ins->getArgument(os, runparams);