[LyX/master] Remove unused variables
Juergen Spitzmueller
spitz at lyx.org
Mon Nov 18 09:12:18 UTC 2024
commit 7016f0c676c90aea9277ce08aeaeff0005b79df8
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Mon Nov 18 10:11:41 2024 +0100
Remove unused variables
Probably relicts from development
---
src/frontends/qt/GuiDocument.cpp | 2 --
src/frontends/qt/GuiTabularCreate.cpp | 2 --
2 files changed, 4 deletions(-)
diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index 067f162b3e..16374e524c 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -3644,8 +3644,6 @@ void GuiDocument::getTableStyles()
QString data = fn.left(fn.lastIndexOf(".lyx"));
QString guiname = data;
guiname = toqstr(translateIfPossible(qstring_to_ucs4(guiname.replace('_', ' '))));
- QString relpath = toqstr(makeRelPath(qstring_to_ucs4(fn),
- qstring_to_ucs4(dir)));
if (textLayoutModule->tableStyleCO->findData(data) == -1)
textLayoutModule->tableStyleCO->addItem(guiname, data);
}
diff --git a/src/frontends/qt/GuiTabularCreate.cpp b/src/frontends/qt/GuiTabularCreate.cpp
index d9eba4871b..d93e970469 100644
--- a/src/frontends/qt/GuiTabularCreate.cpp
+++ b/src/frontends/qt/GuiTabularCreate.cpp
@@ -63,8 +63,6 @@ void GuiTabularCreate::getFiles()
QString data = fn.left(fn.lastIndexOf(".lyx"));
QString guiname = data;
guiname = toqstr(translateIfPossible(qstring_to_ucs4(guiname.replace('_', ' '))));
- QString relpath = toqstr(makeRelPath(qstring_to_ucs4(fn),
- qstring_to_ucs4(dir)));
if (styleCO->findData(data) == -1)
styleCO->addItem(guiname, data);
}
More information about the lyx-cvs
mailing list