]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
Remove color dependency of framed note, fix bug 3598
[lyx.git] / src / insets / InsetFloatList.h
index 069bd21c2969fa15fdbafe4128826d3f29f192f7..c9c1048f317bea50661ced78204eac431e261604 100644 (file)
@@ -31,9 +31,9 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       InsetBase::Code lyxCode() const;
+       Inset::Code lyxCode() const;
        ///
-       bool display() const { return true; }
+       DisplayType display() const { return AlignCenter; }
        ///
        void write(Buffer const &, std::ostream &) const;
        ///
@@ -50,9 +50,9 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const
+       virtual std::auto_ptr<Inset> doClone() const
        {
-               return std::auto_ptr<InsetBase>(new InsetFloatList(to_ascii(getParam("type"))));
+               return std::auto_ptr<Inset>(new InsetFloatList(to_ascii(getParam("type"))));
        }
 };