mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
fix two compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28978 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
26bb1474f3
commit
3030a279ac
@ -282,7 +282,7 @@ Thesaurus::Meanings Thesaurus::lookup(docstring const &, docstring const &)
|
||||
}
|
||||
|
||||
|
||||
bool Thesaurus::thesaurusAvailable(docstring const & lang) const
|
||||
bool Thesaurus::thesaurusAvailable(docstring const &) const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ Length widgetsToLength(QLineEdit const * input, QComboBox const * combo)
|
||||
if (isValidGlueLength(fromqstr(length)))
|
||||
return Length(fromqstr(length));
|
||||
|
||||
Length::UNIT unit;
|
||||
Length::UNIT unit = Length::UNIT_NONE;
|
||||
QString const item = combo->currentText();
|
||||
for (int i = 0; i < num_units; i++) {
|
||||
if (qt_(lyx::unit_name_gui[i]) == item) {
|
||||
|
Loading…
Reference in New Issue
Block a user