]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetFloatList.h
index e837889221e679fd9813365107af196148b54039..ec63bdc0c45438192342c7a21afa1f8d8d83ec2c 100644 (file)
@@ -50,9 +50,9 @@ public:
        ///
        void validate(LaTeXFeatures & features) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const
+       virtual Inset * clone() const
        {
-               return std::auto_ptr<Inset>(new InsetFloatList(to_ascii(getParam("type"))));
+               return new InsetFloatList(to_ascii(getParam("type")));
        }
 };