]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.h
Revert http://www.lyx.org/trac/changeset/25553 and try better fix for bug
[lyx.git] / src / insets / InsetFlex.h
index eb827f8bd7cb6c0ca89b073345b33f187ce422a3..2fdc43ccb0065238c14093ff8dbfc3a99008c39b 100644 (file)
@@ -23,8 +23,7 @@ namespace lyx {
 class InsetFlex : public InsetCollapsable {
 public:
        ///
-       InsetFlex(Buffer const &, DocumentClass * dc, 
-                       std::string const & layoutName);
+       InsetFlex(Buffer const &, std::string const & layoutName);
        ///
        docstring name() const { return from_utf8(name_); }
 
@@ -37,7 +36,7 @@ public:
        ///
        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;
@@ -59,10 +58,6 @@ private:
 
        ///
        std::string name_;
-       ///
-       std::set<std::string> packages_;
-       ///
-       std::string preamble_;
 };