InsetListingsParams.h/cpp: fix compiler warning about initialization order

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18344 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-05-15 14:56:55 +00:00
parent 1184b0be29
commit 7ea0cd1dd9

View File

@ -398,13 +398,13 @@ void parValidator::validate(std::string const & par) const
InsetListingsParams::InsetListingsParams() :
inline_(false), status_(InsetCollapsable::Open), params_()
inline_(false), params_(), keys_(0), status_(InsetCollapsable::Open)
{
}
InsetListingsParams::InsetListingsParams(string const & par, bool in, InsetCollapsable::CollapseStatus s)
: inline_(in), status_(s)
: inline_(in), params_(), keys_(0), status_(s)
{
// this will activate parameter validation.
fromEncodedString(par);