2002-05-30 Lars Gullik Bj�nnes <larsbj@birdstep.com>

insetexternal.C (clone): fix () bug when using new


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4293 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-05-30 09:43:29 +00:00
parent 68e59b071f
commit 26349384b2
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
* insetexternal.C (clone): fix () bug when using new
2002-05-30 John Levon <moz@compsoc.man.ac.uk> 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
* insettabular.C: add const * insettabular.C: add const

View File

@ -197,7 +197,7 @@ void InsetExternal::validate(LaTeXFeatures & features) const
Inset * InsetExternal::clone(Buffer const &, bool same_id) const Inset * InsetExternal::clone(Buffer const &, bool same_id) const
{ {
InsetExternal * inset = new InsetExternal(); InsetExternal * inset = new InsetExternal;
inset->params_ = params_; inset->params_ = params_;
inset->view_ = view_; inset->view_ = view_;
if (same_id) if (same_id)