]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNewline.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetNewline.h
index 54ca6699df5fce9efc2fe0d4bebf370457070451..94f291c9510749094c826b96e6f639c1559a2129 100644 (file)
@@ -44,9 +44,9 @@ public:
        // a line separator)?
        bool isSpace() const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const
+       virtual Inset * clone() const
        {
-               return std::auto_ptr<Inset>(new InsetNewline);
+               return new InsetNewline;
        }
 };