]> git.lyx.org Git - lyx.git/commitdiff
fix #4717
authorAndré Pönitz <poenitz@gmx.net>
Tue, 8 Apr 2008 20:05:26 +0000 (20:05 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Tue, 8 Apr 2008 20:05:26 +0000 (20:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24181 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetFloatList.h

index d699cc7d51c5d1be189b67143f5352b54c45611c..8d1bc212e846b0b5de0afe58ed7d35af6fd3e48a 100644 (file)
@@ -54,8 +54,7 @@ public:
        static bool isCompatibleCommand(std::string const & s);
 private:
        ///
-       virtual Inset * clone() const
-               { return new InsetFloatList(to_ascii(getParam("type"))); }
+       Inset * clone() const { return new InsetFloatList(*this); }
        ///
        static ParamInfo param_info_;
 };