mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
InsetCaption: move intialization to declaration
This commit is contained in:
parent
76eae4572e
commit
cb3db8b4cf
@ -53,8 +53,7 @@ namespace lyx {
|
||||
|
||||
|
||||
InsetCaption::InsetCaption(Buffer * buf, string const & type)
|
||||
: InsetText(buf, InsetText::PlainLayout),
|
||||
labelwidth_(0), is_subfloat_(false), is_deleted_(false), type_(type)
|
||||
: InsetText(buf, InsetText::PlainLayout), type_(type)
|
||||
{
|
||||
setDrawFrame(true);
|
||||
setFrameColor(Color_collapsibleframe);
|
||||
|
@ -94,13 +94,13 @@ private:
|
||||
///
|
||||
mutable docstring full_label_;
|
||||
///
|
||||
mutable int labelwidth_;
|
||||
mutable int labelwidth_ = 0;
|
||||
///
|
||||
std::string floattype_;
|
||||
///
|
||||
bool is_subfloat_;
|
||||
bool is_subfloat_ = false;
|
||||
///
|
||||
bool is_deleted_;
|
||||
bool is_deleted_ = false;
|
||||
///
|
||||
std::string type_;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user