[LyX/master] Remove unused variables

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Dec 19 15:07:58 UTC 2023


commit 3695b631c6c16d1d87c646d25143c416e7358bad
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date:   Tue Dec 19 17:24:31 2023 +0100

    Remove unused variables
---
 src/graphics/PreviewLoader.cpp |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/graphics/PreviewLoader.cpp b/src/graphics/PreviewLoader.cpp
index f6ca607..198d6d9 100644
--- a/src/graphics/PreviewLoader.cpp
+++ b/src/graphics/PreviewLoader.cpp
@@ -19,7 +19,6 @@
 #include "Converter.h"
 #include "Encoding.h"
 #include "Format.h"
-#include "LaTeXFeatures.h"
 #include "LyXRC.h"
 #include "output.h"
 #include "OutputParams.h"
@@ -606,9 +605,6 @@ void PreviewLoader::Impl::startLoading(bool wait)
 	}
 
 	otexstream os(of);
-	OutputParams runparams(&enc);
-	LaTeXFeatures features(buffer_, buffer_.params(), runparams);
-
 	if (!openFileWrite(of, latexfile))
 		return;
 


More information about the lyx-cvs mailing list