mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Always initialize InsetQuote language in constructor
Found by Coverity
This commit is contained in:
parent
c056062d59
commit
a0c2328fd6
@ -100,6 +100,9 @@ InsetQuotes::InsetQuotes(Buffer * buf, char_type c, QuoteTimes t)
|
||||
{
|
||||
if (buf)
|
||||
language_ = buf->params().quotes_language;
|
||||
else
|
||||
language_ = EnglishQuotes;
|
||||
|
||||
setSide(c);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user