]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNomencl.h
Fix GRAPHICS_EDIT of InsetGraphics
[lyx.git] / src / insets / InsetNomencl.h
index 6727068ab089bf064d85000f0ddcdf2c85ef01ab..9fc64bcf11716bdc5df719604cd6ba6bfb67a9fd 100644 (file)
@@ -47,7 +47,7 @@ public:
        static bool isCompatibleCommand(std::string const & s) 
                { return s == "nomenclature"; }
 private:
-       Inset * clone() const { return new InsetNomencl(params()); }
+       Inset * clone() const { return new InsetNomencl(*this); }
        /// unique id for this nomenclature entry for docbook export
        docstring nomenclature_entry_id;
 };
@@ -81,7 +81,7 @@ public:
        static bool isCompatibleCommand(std::string const & s) 
                { return s == "printnomenclature"; }
 private:
-       Inset * clone() const { return new InsetPrintNomencl(params()); }
+       Inset * clone() const { return new InsetPrintNomencl(*this); }
 };