Fix InsetBibitem::clone.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23359 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-02-29 20:12:35 +00:00
parent 991154992f
commit 7b09292cb0
2 changed files with 1 additions and 9 deletions

View File

@ -60,14 +60,6 @@ ParamInfo const & InsetBibitem::findInfo(string const & /* cmdName */)
}
Inset * InsetBibitem::clone() const
{
InsetBibitem * b = new InsetBibitem(params());
b->autolabel_ = autolabel_;
return b;
}
void InsetBibitem::doDispatch(Cursor & cur, FuncRequest & cmd)
{
switch (cmd.action) {

View File

@ -56,7 +56,7 @@ protected:
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
private:
///
virtual Inset * clone() const;
virtual Inset * clone() const { return new InsetBibitem(*this); }
/// The label that is set by updateLabels
docstring autolabel_;
///