]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetCitation.h
index e705fcb6bdd65dcb8706105442558c8fcd47498d..d51fe6649b8ddb524e61895377f524e04764b976 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
@@ -63,7 +63,7 @@ private:
        class Cache {
        public:
                ///
-               Cache() : engine(biblio::ENGINE_BASIC), params("cite") {}
+               Cache() : engine(biblio::ENGINE_BASIC), params("citation") {}
                ///
                biblio::CiteEngine engine;
                ///