mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Remove unused variables
Probably relicts from development
This commit is contained in:
parent
db3f127e0d
commit
7016f0c676
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user