]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFloatList.h
Move isMultiCell() to Cursor, and use it.
[lyx.git] / 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_;
 };