Initialize properly several InsetQuote members

Spotted by coverity
This commit is contained in:
Jean-Marc Lasgouttes 2017-03-01 17:02:20 +01:00
parent dc385a8b97
commit 91d8a3982d

View File

@ -606,7 +606,10 @@ docstring const InsetQuotesParams::getShortGuiLabel(docstring const string)
//
///////////////////////////////////////////////////////////////////////
InsetQuotes::InsetQuotes(Buffer * buf, string const & str) : Inset(buf)
InsetQuotes::InsetQuotes(Buffer * buf, string const & str)
: Inset(buf),
style_(InsetQuotesParams::EnglishQuotes), side_(InsetQuotesParams::OpeningQuote),
pass_thru_(false)
{
if (buf) {
global_style_ = buf->masterBuffer()->params().quotes_style;