]> 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 2c89a5bd0f0c5148309ffb7d66eaa61f23851a37..d51fe6649b8ddb524e61895377f524e04764b976 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
@@ -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;
                ///