Always initialize InsetQuote language in constructor

Found by Coverity
This commit is contained in:
Jean-Marc Lasgouttes 2016-06-09 16:42:24 +02:00
parent c056062d59
commit a0c2328fd6

View File

@ -100,6 +100,9 @@ InsetQuotes::InsetQuotes(Buffer * buf, char_type c, QuoteTimes t)
{ {
if (buf) if (buf)
language_ = buf->params().quotes_language; language_ = buf->params().quotes_language;
else
language_ = EnglishQuotes;
setSide(c); setSide(c);
} }