]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetUrl.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetUrl.h
index af991154415e3c4fa24363dbc5aa1686f3ce9dc9..a07d72592fde4fdd0c2ba6340a83ac00575bbc10 100644 (file)
@@ -50,8 +50,8 @@ public:
        virtual int textString(Buffer const &, odocstream &,
                OutputParams const &) const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const {
-               return std::auto_ptr<Inset>(new InsetUrl(params()));
+       virtual Inset * clone() const {
+               return new InsetUrl(params());
        }
 };