Remove unused variables

Probably relicts from development

(cherry picked from commit 7016f0c676)
This commit is contained in:
Juergen Spitzmueller 2024-11-18 10:11:41 +01:00
parent 1138b3875b
commit 16902f6584
2 changed files with 0 additions and 4 deletions

View File

@ -3571,8 +3571,6 @@ void GuiDocument::getTableStyles()
QString data = fn.left(fn.lastIndexOf(".lyx")); QString data = fn.left(fn.lastIndexOf(".lyx"));
QString guiname = data; QString guiname = data;
guiname = toqstr(translateIfPossible(qstring_to_ucs4(guiname.replace('_', ' ')))); 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) if (textLayoutModule->tableStyleCO->findData(data) == -1)
textLayoutModule->tableStyleCO->addItem(guiname, data); textLayoutModule->tableStyleCO->addItem(guiname, data);
} }

View File

@ -63,8 +63,6 @@ void GuiTabularCreate::getFiles()
QString data = fn.left(fn.lastIndexOf(".lyx")); QString data = fn.left(fn.lastIndexOf(".lyx"));
QString guiname = data; QString guiname = data;
guiname = toqstr(translateIfPossible(qstring_to_ucs4(guiname.replace('_', ' ')))); 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) if (styleCO->findData(data) == -1)
styleCO->addItem(guiname, data); styleCO->addItem(guiname, data);
} }