Fix missing initialization

Spotted by Coverity.
This commit is contained in:
Jean-Marc Lasgouttes 2021-03-05 13:06:10 +01:00
parent e6a7da3b22
commit f5340fd6d9

View File

@ -30,7 +30,8 @@ namespace lyx {
InsetMathColor::InsetMathColor(Buffer * buf, bool oldstyle, ColorCode color) InsetMathColor::InsetMathColor(Buffer * buf, bool oldstyle, ColorCode color)
: InsetMathNest(buf, 1), oldstyle_(oldstyle), : InsetMathNest(buf, 1), oldstyle_(oldstyle),
color_(from_utf8(lcolor.getLaTeXName(color))) color_(from_utf8(lcolor.getLaTeXName(color))),
current_mode_(UNDECIDED_MODE)
{} {}