commit 3d45b4d3d5ca533f840ce99bf4f02ebe4da90ba0
Author: Juergen Spitzmueller <[email protected]>
Date: Mon Sep 1 19:15:42 2025 +0200
Remove nonsensical copy
---
src/tex2lyx/text.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index c5c3f3d87f..b0aa48024a 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -2617,7 +2617,6 @@ void parse_environment(Parser & p, ostream & os, bool
outer,
ostringstream oss;
p.pushPosition();
parse_text(p, oss, FLAG_END, outer, newcontext);
- string const save_extrastuff =
parent_context.extra_stuff;
if (newcontext.has_custom_mp_environment) {
parent_context.extra_stuff.erase();
parent_context.check_layout(os);
@@ -2625,7 +2624,6 @@ void parse_environment(Parser & p, ostream & os, bool
outer,
p.popPosition();
parse_text(p, os, FLAG_END, outer,
parent_context);
output_ert_inset(os, "\\end{" + name + "}",
parent_context);
- parent_context.extra_stuff = save_extrastuff;
} else {
p.popPosition();
parse_text(p, os, FLAG_END, outer,
parent_context);
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs