From: André Pönitz Date: Tue, 8 Apr 2008 20:05:26 +0000 (+0000) Subject: fix #4717 X-Git-Tag: 1.6.10~5239 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b254178702915876034fb38bb98cf5f216a9c801;p=features.git fix #4717 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24181 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/InsetFloatList.h b/src/insets/InsetFloatList.h index d699cc7d51..8d1bc212e8 100644 --- a/src/insets/InsetFloatList.h +++ b/src/insets/InsetFloatList.h @@ -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_; };