mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 06:15:16 +00:00
Remove unused variables
Probably relicts from development
(cherry picked from commit 7016f0c676
)
This commit is contained in:
parent
1138b3875b
commit
16902f6584
@ -3571,8 +3571,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