]> git.lyx.org Git - features.git/commitdiff
Fix InsetCitation::clone.
authorRichard Heck <rgheck@comcast.net>
Fri, 29 Feb 2008 20:00:39 +0000 (20:00 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 29 Feb 2008 20:00:39 +0000 (20:00 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23357 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetCitation.h

index 1318c3767b171dcbdc589b2497c058cbfac4532b..0cf4f77a15484d12ff4fae837f7a20e09ac56c4f 100644 (file)
@@ -57,7 +57,7 @@ public:
        static bool isCompatibleCommand(std::string const & cmd);
 private:
        ///
-       Inset * clone() const { return new InsetCitation(params()); }
+       Inset * clone() const { return new InsetCitation(*this); }
        /// we'll eventually want to be able to get info on this from the 
        /// various CiteEngines
        static ParamInfo param_info_;