]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetUrl.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetUrl.h
index bb72b2a6cfaa4df664479844e469f974c7608a39..a07d72592fde4fdd0c2ba6340a83ac00575bbc10 100644 (file)
@@ -39,19 +39,19 @@ public:
        DisplayType display() const { return Inline; }
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
        /// the string that is passed to the TOC
        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());
        }
 };