]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetUrl.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetUrl.h
index a0c11801c3753604c7b5e0c4b765169f1c493d0c..a07d72592fde4fdd0c2ba6340a83ac00575bbc10 100644 (file)
@@ -36,22 +36,22 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       bool display() const { return false; }
+       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());
        }
 };