]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Fix text frame drawing.
[lyx.git] / src / insets / InsetCitation.h
index e705fcb6bdd65dcb8706105442558c8fcd47498d..873c71c72de7ed8223a539ef20ad9ade21e6e067 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "InsetCommand.h"
 
-#include "frontends/controllers/frontend_helpers.h"
+#include "BiblioInfo.h"
 
 
 namespace lyx {
@@ -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