mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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)
|
InsetCaption::InsetCaption(Buffer * buf, string const & type)
|
||||||
: InsetText(buf, InsetText::PlainLayout),
|
: InsetText(buf, InsetText::PlainLayout), type_(type)
|
||||||
labelwidth_(0), is_subfloat_(false), is_deleted_(false), type_(type)
|
|
||||||
{
|
{
|
||||||
setDrawFrame(true);
|
setDrawFrame(true);
|
||||||
setFrameColor(Color_collapsibleframe);
|
setFrameColor(Color_collapsibleframe);
|
||||||
|
@ -94,13 +94,13 @@ private:
|
|||||||
///
|
///
|
||||||
mutable docstring full_label_;
|
mutable docstring full_label_;
|
||||||
///
|
///
|
||||||
mutable int labelwidth_;
|
mutable int labelwidth_ = 0;
|
||||||
///
|
///
|
||||||
std::string floattype_;
|
std::string floattype_;
|
||||||
///
|
///
|
||||||
bool is_subfloat_;
|
bool is_subfloat_ = false;
|
||||||
///
|
///
|
||||||
bool is_deleted_;
|
bool is_deleted_ = false;
|
||||||
///
|
///
|
||||||
std::string type_;
|
std::string type_;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user