class InsetFlex : public InsetCollapsable {
public:
///
- InsetFlex(BufferParams const &,TextClassPtr tc,
+ InsetFlex(Buffer const &, DocumentClass * dc,
std::string const & layoutName);
///
docstring name() const { return from_utf8(name_); }
///
void read(Lexer & lex);
///
- virtual bool allowParagraphCustomization(idx_type) const { return false; }
+ virtual bool allowParagraphCustomization(idx_type = 0) const { return false; }
///
int plaintext(odocstream &, OutputParams const &) const;
InsetFlex(InsetFlex const &);
private:
- virtual Inset * clone() const;
+ Inset * clone() const { return new InsetFlex(*this); }
///
std::string name_;