]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetLine.h
index 89802d2a305606676842a3282d93b6e4bacc7861..f6c54c86d17c20e555261bb1391d7fe167be7e7c 100644 (file)
@@ -48,9 +48,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 InsetLine);
+               return new InsetLine;
        }
 };