X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetFloatList.h;h=06004634f2edcee802f1b0134be446a8d3c020cb;hb=f1cba8ff64b369792fd49f5ddf90e8126ab476ac;hp=d699cc7d51c5d1be189b67143f5352b54c45611c;hpb=db8c16d554ebb1dcb319e44d318572de6eff024b;p=features.git diff --git a/src/insets/InsetFloatList.h b/src/insets/InsetFloatList.h index d699cc7d51..06004634f2 100644 --- a/src/insets/InsetFloatList.h +++ b/src/insets/InsetFloatList.h @@ -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_; };