]> git.lyx.org Git - features.git/blobdiff - src/graphics/PreviewLoader.cpp
Rationalise includes
[features.git] / src / graphics / PreviewLoader.cpp
index bc174daa81f902b3c70bbb93131eaae38818edb7..1f78d77c7f13e51a4ccfd3b2db20ba7ba36701f8 100644 (file)
@@ -25,6 +25,7 @@
 #include "output.h"
 #include "OutputParams.h"
 #include "TexRow.h"
+#include "texstream.h"
 
 #include "frontends/Application.h" // hexName
 
@@ -625,8 +626,7 @@ void PreviewLoader::Impl::startLoading(bool wait)
                return;
        }
 
-       TexRow texrow;
-       otexstream os(of, texrow);
+       otexstream os(of);
        OutputParams runparams(&enc);
        LaTeXFeatures features(buffer_, buffer_.params(), runparams);