[LyX/master] Remove unused parameters
Juergen Spitzmueller
spitz at lyx.org
Fri Feb 20 10:31:26 UTC 2026
commit 5fac0bc5190dc4d4a9786a12f43e205c69cf6e93
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Fri Feb 20 11:31:02 2026 +0100
Remove unused parameters
---
src/tex2lyx/text.cpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index 6a06a374de..15d13b01a4 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -3615,7 +3615,6 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
Token const end = p.next_next_token();
if (next.cat() == catEnd) {
// {}
- Token const prev = p.prev_token();
p.get_token();
if (p.next_token().character() == '`')
; // ignore it in {}``
@@ -3658,8 +3657,6 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
} else {
context.check_layout(os);
// special handling of font attribute changes
- Token const prev = p.prev_token();
- TeXFont const oldFont = context.font;
if (next.character() == '[' ||
next.character() == ']' ||
next.character() == '*') {
More information about the lyx-cvs
mailing list