]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetCitation.h
index 2c89a5bd0f0c5148309ffb7d66eaa61f23851a37..873c71c72de7ed8223a539ef20ad9ade21e6e067 100644 (file)
@@ -52,9 +52,9 @@ public:
        void replaceContents(std::string const & from, std::string const & to);
 
 private:
-       virtual std::auto_ptr<Inset> doClone() const
+       virtual Inset * clone() const
        {
-               return std::auto_ptr<Inset>(new InsetCitation(params()));
+               return new InsetCitation(params());
        }
 
        /// This function does the donkey work of creating the pretty label