]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFloatList.h
more latin1..utf8 schanges. all of src/* should be utf8 now
[features.git] / src / insets / InsetFloatList.h
index d699cc7d51c5d1be189b67143f5352b54c45611c..06004634f2edcee802f1b0134be446a8d3c020cb 100644 (file)
@@ -4,7 +4,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -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_;
 };