mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Initialize properly several InsetQuote members
Spotted by coverity
This commit is contained in:
parent
dc385a8b97
commit
91d8a3982d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user