mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +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 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);
|
||||||
}
|
}
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user